[issue4738] Patch to make zlib-objects better support threads

2008-12-25 Thread STINNER Victor
STINNER Victor added the comment: Ok, the patch looks fine and I like finer locks ;-) ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue4738] Patch to make zlib-objects better support threads

2008-12-25 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12440/zlib_threads.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue4746] Misguiding wording 3.0 c-api reference

2008-12-25 Thread Gabriel Genellina
Gabriel Genellina added the comment: Also, it isn't clear that the returned string must not be modified, and that the pointer lifetime is of the original string object itself. (This applies to all string and unicode formats). -- nosy: +gagenellina _

[issue4738] Patch to make zlib-objects better support threads

2008-12-25 Thread ebfe
ebfe added the comment: new svn diff Added file: http://bugs.python.org/file12448/zlib_threads.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue4747] SyntaxError executing a script containing non-ASCII characters in its name or path

2008-12-25 Thread Gabriel Genellina
New submission from Gabriel Genellina : Attempting to directly execute a script containing non-ASCII characters in its name or path raises SyntaxError. The script contents are mostly irrelevant, except it must contain an encoding declaration (with *any* encoding, real or inexistent). Running

[issue2723] Truncate __len__() at sys.maxsize

2008-12-25 Thread STINNER Victor
STINNER Victor added the comment: Most people disagree with the original idea (len.diff: truncate the length to sys.maxsize). I don't like rbp's patch: replace verbose error message ("Python int too large to convert to C ssize_t") by a shorter message ("Length too large"). If I want to debug

[issue1797] ctypes function pointer enhancements

2008-12-25 Thread STINNER Victor
STINNER Victor added the comment: Changes applied to trunk (and py3k) so I guess that the issue can be closed. -- nosy: +haypo resolution: -> fixed status: open -> closed ___ Python tracker __

[issue4629] getopt should not accept no_argument that ends with '='

2008-12-25 Thread STINNER Victor
STINNER Victor added the comment: Can you please also write a regression test in Lib/test/test_getopt.py? -- nosy: +haypo ___ Python tracker ___

[issue4738] Patch to make zlib-objects better support threads

2008-12-25 Thread STINNER Victor
STINNER Victor added the comment: A call to PyThread_free_lock(this->lock) in Comp_dealloc() and Decomp_dealloc(). Comp_dealloc() and Decomp_dealloc() code may also be factorized (write a common function to free unused_data, unconsumed_tail and self). -- nosy: +haypo ___

[issue4710] [PATCH] zipfile.ZipFile does not extract directories properly

2008-12-25 Thread Kuba Wieczorek
Changes by Kuba Wieczorek : Removed file: http://bugs.python.org/file12420/zipfile_extract_dirs_r2.patch ___ Python tracker ___ ___ Python-bugs

[issue4746] Misguiding wording 3.0 c-api reference

2008-12-25 Thread ebfe
New submission from ebfe : Quote from http://docs.python.org/3.0/c-api/arg.html, regarding the "s" argument: """ s (string or Unicode object) [const char *] Convert a Python string or Unicode object to a C pointer to a character string. You must not provide storage for the string itself; a

[issue4718] wsgiref package totally broken

2008-12-25 Thread Dmitry Vasiliev
Dmitry Vasiliev added the comment: Attached updated version of the patch. Added file: http://bugs.python.org/file12447/wsgiref.patch ___ Python tracker ___ __

[issue4718] wsgiref package totally broken

2008-12-25 Thread Dmitry Vasiliev
Changes by Dmitry Vasiliev : Removed file: http://bugs.python.org/file12439/wsgiref.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue4718] wsgiref package totally broken

2008-12-25 Thread Dmitry Vasiliev
Dmitry Vasiliev added the comment: Phillip J. Eby wrote: > Graham: thanks for pointing that out; I completely forgot we already > *had* the migration discussion on the Web-SIG! It just slipped my > mind because I didn't have any 3.0 work on the horizon. Good to see we came to conclusion. Act