Re: [Python-Dev] cpython: #1874: detect invalid multipart CTE and report it as a defect.

2011-06-22 Thread R. David Murray
On Wed, 22 Jun 2011 21:40:57 +0200, Georg Brandl wrote: > On 22.06.2011 19:48, r.david.murray wrote: > > diff --git a/Lib/email/errors.py b/Lib/email/errors.py > > --- a/Lib/email/errors.py > > +++ b/Lib/email/errors.py > > @@ -55,3 +55,6 @@ > > > > class MultipartInvariantViolationDefect(Messa

Re: [Python-Dev] cpython: #1874: detect invalid multipart CTE and report it as a defect.

2011-06-22 Thread Georg Brandl
On 22.06.2011 19:48, r.david.murray wrote: > http://hg.python.org/cpython/rev/5a2602939d5d > changeset: 70925:5a2602939d5d > user:R David Murray > date:Wed Jun 22 13:47:53 2011 -0400 > summary: > #1874: detect invalid multipart CTE and report it as a defect. > > files: > Lib

[Python-Dev] PEP 382 sprint

2011-06-22 Thread Barry Warsaw
Hi folks, Yesterday, 6 Washington DC area Pythonistas met to work on PEP 382. I wrote up a summary based on my notes and blogged about it here: http://www.wefearchange.org/2011/06/pep-382-sprint-summary.html Hopefully, the other participants will correct my mistakes and fill in the holes. A f

Re: [Python-Dev] Is there any fun with benchmarks

2011-06-22 Thread Maciej Fijalkowski
On Wed, Jun 22, 2011 at 3:24 PM, Nick Coghlan wrote: > On Wed, Jun 22, 2011 at 10:47 PM, anatoly techtonik > wrote: >> I wonder if upcoming speed.python.org has any means to validate these >> claims for different Python releases? >> Is there any place where I can upload my two to compare perform

Re: [Python-Dev] Is there any fun with benchmarks

2011-06-22 Thread Nick Coghlan
On Wed, Jun 22, 2011 at 10:47 PM, anatoly techtonik wrote: > I wonder if upcoming speed.python.org has any means to validate these > claims for different Python releases? > Is there any place where I can upload my two to compare performance? > Are there any instructions how to create such snippets

Re: [Python-Dev] Is there any fun with benchmarks

2011-06-22 Thread Paul Moore
On 22 June 2011 13:47, anatoly techtonik wrote: > I run across a snippet in SCons.Util (don't worry, I've double-checked > To: field) that claims it is faster than os.path.splitext() while > basically doing the same thing. Actually, it doesn't do the same thing. Doesn't handle files like .profile

[Python-Dev] Is there any fun with benchmarks

2011-06-22 Thread anatoly techtonik
I run across a snippet in SCons.Util (don't worry, I've double-checked To: field) that claims it is faster than os.path.splitext() while basically doing the same thing. def splitext(path): "Same as os.path.splitext() but faster." sep = rightmost_separator(path, os.sep) dot = path.rfind