Re: #7443, #8453 and the timesince filter

2008-08-24 Thread Russell Keith-Magee
On Mon, Aug 25, 2008 at 12:21 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > Hey Russ, > > On Sat, 2008-08-23 at 23:25 +0800, Russell Keith-Magee wrote: >> Hi all, >> >> In [8481], I committed a fix for #7443, dealing with a problem with >> the timesince filter. About 20 minutes after I com

Re: #7443, #8453 and the timesince filter

2008-08-24 Thread Malcolm Tredinnick
Hey Russ, On Sat, 2008-08-23 at 23:25 +0800, Russell Keith-Magee wrote: > Hi all, > > In [8481], I committed a fix for #7443, dealing with a problem with > the timesince filter. About 20 minutes after I committed it, I became > aware of #8453, which is the same problem - except that #8453 sugges

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 all.

Re: Be explicit about which reverse lookup failed after r8211

2008-08-24 Thread James Bennett
On Sat, Aug 23, 2008 at 2:43 PM, mrts <[EMAIL PROTECTED]> wrote: > http://code.djangoproject.com/ticket/7524 is tagged as post-1.0. > 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 various

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 v

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