Re: [Python-Dev] [Python-checkins] r45925 - in python/trunk: Lib/tempfile.py Lib/test/test_os.py Misc/NEWS Modules/posixmodule.c

2006-05-12 Thread Martin v. Löwis
M.-A. Lemburg wrote: > What do you think ? I think the size could be further reduced by restricting the set of error codes. For example, if the COM error codes are left out, I only get a Python file with 60k source size (although the bytecode size is then 130k). I'm not sure whether GetLastError c

[Python-Dev] Status: sqlite3 module docs

2006-05-12 Thread Gerhard Häring
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I've now moved over all the content from the pysqlite reference manual to the sqlite3 module docs. It would be nice if now somebody with more experience with Python documentation could look over it. A few things I know could be changed: - -

Re: [Python-Dev] [Python-checkins] r45925 - in python/trunk: Lib/tempfile.py Lib/test/test_os.py Misc/NEWS Modules/posixmodule.c

2006-05-12 Thread M.-A. Lemburg
M.-A. Lemburg wrote: > Martin v. Löwis wrote: >> M.-A. Lemburg wrote: >>> BTW, and intended as offer for compromise, should we instead >>> add the Win32 codes to the errno module (or a new winerrno >>> module) ?! I can write a parser that takes winerror.h and >>> generates the module code. >> Inste

Re: [Python-Dev] pthreads, fork, import, and execvp

2006-05-12 Thread Nick Coghlan
Rotem Yaari wrote: > This has occurred on Python 2.4.1 on a 2.4.27 Linux kernel. > > Preliminary analysis of the hang shows that the child process blocks > upon entering the execvp function, in which the import_lock is acquired > due to the following line: > > def _ execvpe(file, args, env=No

Re: [Python-Dev] Efficient set complement and operation on large/infinite sets.

2006-05-12 Thread Terry Jones
> "Raymond" == Raymond Hettinger <[EMAIL PROTECTED]> writes: Raymond> There's room in the world for alternate implementations of sets, Raymond> each with its own strengths and weaknesses. ... Raymond> Alternatve implementations will most likely start-off as Raymond> third-party extension modul

Re: [Python-Dev] [Python-3000] Questions on optional type annotations

2006-05-12 Thread Neal Norwitz
On 5/11/06, Edward Loper <[EMAIL PROTECTED]> wrote: > Neal Norwitz wrote: > > Another benefit of this is the ability to get more info through > > introspection. Right now, you can't even find the number of arguments > > of a function implemented in C. You only know if it takes 0, 1, or > > variab