Re: [Python-Dev] Python 2.4 won the Jolt productivity award last night

2005-03-18 Thread Simon Brunning
On Thu, 17 Mar 2005 16:01:03 +, Gareth McCaughan [EMAIL PROTECTED] wrote: http://www.sdmagazine.com/jolts/ , but it's not been updated yet and therefore still has last year's winners on it. I haven't found anything with more up-to-date results. The 2005 winners are listed here:

Re: [Python-Dev] python-dev Summary for 2005-03-01 through 2005-03-15 [draft]

2005-03-18 Thread Nick Coghlan
- sum() semantics discussed - Guido's blog entry on `the fate of reduce() in Python 3000`_ (which reiterated Guido's plan to cut map(), reduce(), filter() and lambdas (what about zip()?) caused a huge discussion on whether sum() worked the best

Re: [Python-Dev] thread semantics for file objects

2005-03-18 Thread Paul Moore
On Fri, 18 Mar 2005 07:57:25 +0100, Martin v. Löwis [EMAIL PROTECTED] wrote: The guarantee that we want to make is certainly stronger: if the threads all read from the same file, each will get a series of chunks. The guarantee is that it is possible to combine the chunks in a way to get the

Re: [Python-Dev] Faster Set.discard() method?

2005-03-18 Thread Barry Warsaw
On Fri, 2005-03-18 at 01:19, Andrew McNamara wrote: No, exceptions are fast at the C level - all they do is set a flag. The expense of exceptions is saving a restoring python frames, I think, which doesn't happen in this case. So the current implementation is ideal for C code - clear and

Re: [Python-Dev] Python 2.4 won the Jolt productivity award last night

2005-03-18 Thread Simon Brunning
On Fri, 18 Mar 2005 09:07:19 +, Simon Brunning [EMAIL PROTECTED] wrote: The 2005 winners are listed here: http://www.sdmagazine.com/pressroom/jolt_winners_2005.pdf Oh, and while I'm breaking cover on python-dev; congratulations to the lot of you for this. You all richly deserve it. --

Re: [Python-Dev] thread semantics for file objects

2005-03-18 Thread Jeremy Hylton
On Fri, 18 Mar 2005 07:57:25 +0100, Martin v. Löwis [EMAIL PROTECTED] wrote: Writing down all these properties does little good, IMO. This includes your proposed property of file reads: anybody reading your statement will think of course it works this way - why even mention it. The thingsa

[Python-Dev] Example workaround classes for using Unicode with csv module...

2005-03-18 Thread Skip Montanaro
I added UnicodeReader and UnicodeWriter example classes to the csv module docs just now. They mention problems with ASCII NUL characters (which I vaguely remember - NUL-terminated strings are used internally, right?). Do NULs still present a problem? I saw nothing in the log messages that

[Python-Dev] Re: [Python-checkins] python/dist/src/Doc/lib libcsv.tex, 1.18, 1.19

2005-03-18 Thread Walter Dörwald
[EMAIL PROTECTED] wrote: Update of /cvsroot/python/python/dist/src/Doc/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22325 Modified Files: libcsv.tex Log Message: add UnicodeReader and UnicodeWriter example classes [] +The \module{csv} module doesn't directly support reading and

Re: [Python-Dev] Change 'env var BROWSER override' semantics in webbrowser.py

2005-03-18 Thread Martin v. Löwis
Rodrigo Dias Arruda Senra wrote: I propose a small change in webbrowse.py module. I think I'm generally in favour of such a change. However: - please don't post patches to python-dev, unless you *want* them to be ignored. Typically, nobody will pick up patches from python-dev and apply them,

[Python-Dev] Re: Change 'env var BROWSER override' semantics in webbrowser.py

2005-03-18 Thread Reinhold Birkenfeld
Martin v. Löwis wrote: Rodrigo Dias Arruda Senra wrote: I propose a small change in webbrowse.py module. I think I'm generally in favour of such a change. However: - please don't post patches to python-dev, unless you *want* them to be ignored. Typically, nobody will pick up patches

Re: [Python-Dev] __metaclass__ problem

2005-03-18 Thread Nick Coghlan
Phillip J. Eby wrote: At 10:11 AM 3/19/05 +1000, Nick Coghlan wrote: 'Meta1' is NOT a subclass of 'Meta2', yet the exception is not thrown. Instead, the explicitly requested metaclass has been silently replaced with a subclass. I think the OP is justified in calling that 'suprising'. This is

Re: [Python-Dev] Draft PEP to make file objects support non-blocking mode.

2005-03-18 Thread James Y Knight
On Mar 18, 2005, at 8:19 PM, Greg Ward wrote: Is having to use fcntl and os really so awful? At least it requires the programmer to prove he knows what he's doing putting this file into non-blocking mode, and that he really wants to do it. ;-) I'd tend to agree. :) Moreover, I don't think