Re: '"%s/" % var' preferred to 'var + "/"'?

2008-08-24 Thread Fredrik Lundh
Joost Cassee wrote: > Thanks for all the great info. Usually articles refer ''.join(...) as > the fastest concat operation, but it won't do type coersion of course. > I was interested whether there was a Django standard for this sort of > thing. In any case the '+' operator is discouraged by

Re: Exception swallowing in urls.py + admin.autodiscover() == a lot of frustration for developers

2008-08-24 Thread Jacob Kaplan-Moss
Quick note: Malcolm and I are in Portland in the only place in the city sans wifi. We've talked about this and the other exc swallowing issue and I have some thoughts. Please hold until I'm in a more civilized location and can actually use a keyboard bigger than a few stamps. Jacob Sent

Re: Be explicit about which reverse lookup failed after r8211

2008-08-24 Thread mrts
On Aug 24, 4:40 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Sat, Aug 23, 2008 at 2:43 PM, mrts <[EMAIL PROTECTED]> wrote: > >http://code.djangoproject.com/ticket/8221 was closed as duplicate of > > #7524, which it is not. > > In triaging, I'm trying to take the position that all of the

Re: Exception swallowing in urls.py + admin.autodiscover() == a lot of frustration for developers

2008-08-24 Thread James Bennett
On Sun, Aug 24, 2008 at 2:11 AM, Karen Tracey <[EMAIL PROTECTED]> wrote: > I don't understand this argument. At some point fixing this general issue > is going to have to involve a piecemeal change of each instance where > exceptions are currently swallowed. (Or at least each instance where the

Re: Exception swallowing in urls.py + admin.autodiscover() == a lot of frustration for developers

2008-08-24 Thread James Bennett
On Sun, Aug 24, 2008 at 12:53 AM, Jonas Pfeil <[EMAIL PROTECTED]> wrote: > P.S.: I should have brought this up here earlier instead of causing a > somewhat lengthy discussion on IRC, sorry for that. I hope James > doesn't hate me after this ;) I stand by what I said in the dev channel yesterday: