[issue3597] Allow application developers to select ciphers, and default to strong in ssl lib

2008-09-05 Thread Heikki Toivonen
Heikki Toivonen [EMAIL PROTECTED] added the comment: Yeah, compatibility can be a problem. The cipher list I used for M2Crypto was recommended in the book Network Security with OpenSSL (I think). Besides removing unsafe ciphers, it orders the remaining ciphers from strongest to weakest, based on

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2008-09-05 Thread Heikki Toivonen
Heikki Toivonen [EMAIL PROTECTED] added the comment: Could you clarify your comment regarding hostname check being false security? Just about all SSL texts I have read say you must do that, and that is what your web browser and email client does to ensure it is talking to the right host, for

[issue3784] Incorrect compiler options used for cc of Sun Studio 12

2008-09-05 Thread Michael Schmarck
New submission from Michael Schmarck [EMAIL PROTECTED]: While compiling Python 2.5.2, I stumbled upon this: cc -G -R/export/home/webservd/.software/Python-2.5.2/lib build/temp.solaris-2.10-sun4u-2.5/export/home/webservd/Source/Python-2.5.2/Modules/_ctypes/_ctypes.o

[issue3785] Can't build ctypes of Python 2.5.2 with Sun Studio 12

2008-09-05 Thread Michael Schmarck
New submission from Michael Schmarck [EMAIL PROTECTED]: Compilation of ctypes fails: cc -G build/temp.solaris-2.10-sun4u-2.5/export/home/webservd/Source/Python-2.5.2/Modules/_ctypes/_ctypes.o build/temp.solaris-2.10-sun4u-2.5/export/home/webservd/Source/Python-2.5.2/Modules/_ctypes/callbacks.o

[issue3785] Can't build ctypes of Python 2.5.2 with Sun Studio 12

2008-09-05 Thread Michael Schmarck
Michael Schmarck [EMAIL PROTECTED] added the comment: This does not happen when I use GCC to build Python. --($ ~/Source/gccPy/Python-2.5.2)-- /usr/sfw/bin/gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs Configured with:

[issue3785] Can't build ctypes of Python 2.5.2 with Sun Studio 12

2008-09-05 Thread Michael Schmarck
Michael Schmarck [EMAIL PROTECTED] added the comment: It works fine in 2.6b3, however (I only tested Sun Studio 12). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3785 ___

[issue3786] _curses, _curses_panel _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2008-09-05 Thread Michael Schmarck
New submission from Michael Schmarck [EMAIL PROTECTED]: I'm trying to compile Python 2.6b3 using Sun Studio 12 on a Solaris 10 sparc system. It fails. [...] *** WARNING: renaming _curses since importing it failed: ld.so.1: python: fatal: relocation error: file

[issue3492] Zlib compress/decompress functions returning bytearray

2008-09-05 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Patch looks good to me (I've only looked at the patch - not the other possible misuses of PyByteArray_ that Amaury noted) -- nosy: +ncoghlan ___ Python tracker [EMAIL PROTECTED]

[issue3786] _curses, _curses_panel _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: As for the multiprocessing problem, it has been fixed recently on trunk. Can you give it a try? -- nosy: +pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3786

[issue3776] deprecate bsddb/dbhash in 2.6 for removal in 3.0

2008-09-05 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: I was actually pretty sure the intention was to add Py3k warnings, but the exact phrase being used in the python-dev thread was deprecation warnings which made folks a little nervous. ___ Python tracker [EMAIL

[issue3660] reference leaks in 3.0

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: FWIW, applying encode-leak2.patch removes the leak in test_unicode. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3660 ___

[issue3786] _curses, _curses_panel _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2008-09-05 Thread Michael Schmarck
Michael Schmarck [EMAIL PROTECTED] added the comment: Yes, the multiprocessing problem has been fixed by the patch in Issue3110. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3786 ___

[issue3784] Incorrect compiler options used for cc of Sun Studio 12

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Is it really a compile error or just a warning? -- nosy: +pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3784 ___

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-09-05 Thread Simon Cross
Simon Cross [EMAIL PROTECTED] added the comment: I've attached a patch for trunk / 2.6 that adds recv_into and recvfrom_into methods to ssl.SSLSocket and does a minor re-ordering of the nasty lambdas in __init__. The recv_into method is a port of the one from 3.0. The recvfrom_into method is a

[issue3783] dbm.sqlite proof of concept

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: It would be more efficient to base keys() on iterkeys() than the reverse, IMO. Other than that, why not open a branch or at least upload full-fledged patch files? :) -- nosy: +pitrou ___ Python

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-09-05 Thread Simon Cross
Simon Cross [EMAIL PROTECTED] added the comment: Attach recvfrom_into method patch for 3.0. Added file: http://bugs.python.org/file11390/3k-ssl-methods.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3162

[issue3660] reference leaks in 3.0

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Antoine, it seem that with encode-leak2.patch, the error path after PyErr_WarnEx() leaks the value of v. I rewrote the whole paragraph to make it more straightforward: - the normal case is tested first - all paths end with a return, and

[issue1757072] Zipfile robustness

2008-09-05 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1757072 ___

[issue3535] zipfile has problem reading zip files over 2GB

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Alan, do you have an opinion on this? -- nosy: +alanmcintyre versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3535

[issue874900] threading module can deadlock after fork

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Just checked that the latest patch works on Windows as well. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue874900 ___

[issue3660] reference leaks in 3.0

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Le vendredi 05 septembre 2008 à 13:08 +, Amaury Forgeot d'Arc a écrit : Antoine, it seem that with encode-leak2.patch, the error path after PyErr_WarnEx() leaks the value of v. Hmm, you are right. I rewrote the whole paragraph to make

[issue1068268] subprocess is not EINTR-safe

2008-09-05 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: I'd like to suggest to rise the priority of this bug. Till this bus is around, no way using any module using subprocess.Popen form a PyQt app (and I suppose PyGtk and wxPython too). -- nosy: +naufraghi

[issue3660] reference leaks in 3.0

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Amaury, your patch is much clearer indeed and it fixes the leak. -- keywords: -needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3660

[issue3783] dbm.sqlite proof of concept

2008-09-05 Thread Skip Montanaro
Skip Montanaro [EMAIL PROTECTED] added the comment: Antoine It would be more efficient to base keys() on iterkeys() than the Antoine reverse, IMO. True. I was just modifying the dumbdbm implementation. Antoine Other than that, why not open a branch or at least upload Antoine

[issue3783] dbm.sqlite proof of concept

2008-09-05 Thread Jesús Cea Avión
Changes by Jesús Cea Avión [EMAIL PROTECTED]: -- nosy: +jcea ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3783 ___ ___ Python-bugs-list mailing list

[issue1068268] subprocess is not EINTR-safe

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Two remarks: 1 - The part of the patch around the call to select.select() is already in trunk since r64756, almost in the same form. good. 2 - the patch seems to replace all calls to os.write, os.read and os.waipid. But it is based on a

[issue3769] Deprecate bsddb for removal in 3.0

2008-09-05 Thread Jesús Cea Avión
Jesús Cea Avión [EMAIL PROTECTED] added the comment: This issue is closed but rejected. Should it be marked as accepted or fixed?. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3769 ___

[issue3776] deprecate bsddb/dbhash in 2.6 for removal in 3.0

2008-09-05 Thread Jesús Cea Avión
Changes by Jesús Cea Avión [EMAIL PROTECTED]: -- nosy: +jcea ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3776 ___ ___ Python-bugs-list mailing list

[issue3721] invalid literal for int() with base 16: ''

2008-09-05 Thread Eric Smith
Eric Smith [EMAIL PROTECTED] added the comment: The test fails for me on 2.5.1 (stock Mac OS 10.5.4) in the same way as described in this bug. In 2.6 (r66230) the test succeeds. I recommend we close this. -- nosy: +eric.smith ___ Python tracker

[issue3769] Deprecate bsddb for removal in 3.0

2008-09-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- resolution: rejected - fixed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3769 ___ ___

[issue3671] What's New in 2.6 - corrections

2008-09-05 Thread Chris Lambacher
Chris Lambacher [EMAIL PROTECTED] added the comment: In rev66217, the itertools example for With two iterables, 2N-tuples are returned. has a typo: itertools(product([1,2], [3,4], repeat=2) should be: itertools.product([1,2], [3,4], repeat=2) -- nosy: +lambacck

[issue3671] What's New in 2.6 - corrections

2008-09-05 Thread A.M. Kuchling
A.M. Kuchling [EMAIL PROTECTED] added the comment: itertools(product typo fixed in rev. 66231. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3671 ___ ___

[issue3721] invalid literal for int() with base 16: ''

2008-09-05 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc [EMAIL PROTECTED]: -- status: pending - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3721 ___ ___

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-09-05 Thread Simon Cross
Simon Cross [EMAIL PROTECTED] added the comment: Tests for recv* and send* methods in 3.0 (2.6 tests coming shortly). Added file: http://bugs.python.org/file11392/3k-ssl-tests.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3162

[issue3417] make the fix_dict fixer smarter

2008-09-05 Thread Rodrigo Bernardo Pimentel
Rodrigo Bernardo Pimentel [EMAIL PROTECTED] added the comment: I haven't managed to successfully complete the summer of code, due to some personal problems, but I'm still working on 2to3 and on confidence ranking for it. There's a bzr branch with its current implementation at

[issue3492] Zlib compress/decompress functions returning bytearray

2008-09-05 Thread Jesús Cea Avión
Changes by Jesús Cea Avión [EMAIL PROTECTED]: -- nosy: +jcea ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3492 ___ ___ Python-bugs-list mailing list

[issue3783] dbm.sqlite proof of concept

2008-09-05 Thread Gregory Burd
Changes by Gregory Burd [EMAIL PROTECTED]: -- nosy: +gregburd ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3783 ___ ___ Python-bugs-list mailing list

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-09-05 Thread Simon Cross
Simon Cross [EMAIL PROTECTED] added the comment: Test for recv* and send* in 2.6. The tests revealed some bugs so this patch fixes those and supercedes trunk-ssl-methods.patch. Of particular note is that recv_into called self.read(buf, nbytes) which isn't supported in _ssl.c in 2.6. I've

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: self.read(buf, nbytes) Shouldn't this function be named readinto()? -- nosy: +amaury.forgeotdarc ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3162

[issue1040026] os.times() is bogus

2008-09-05 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: I agree with Christian's most recent comment. However without BDFL intervention I think its too late in the 2.6/3.0 release cycle to rush this fix in. It can wait for 2.6.1/3.0.1. I won't have time to look at it for several days myself,

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-09-05 Thread Simon Cross
Simon Cross [EMAIL PROTECTED] added the comment: self.read(buf, nbytes) Shouldn't this function be named readinto()? There is no readinto function (and I suspect one is unlikely to be added now). In Py3k SSLSocket.read takes both len and buffer as optional arguments.

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I asked this because I find the signature misleading: read(len) or read(buffer, len) io.py, for example, defines read(len) and read_into(buffer). ___ Python tracker [EMAIL PROTECTED]

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-09-05 Thread Bill Janssen
Bill Janssen [EMAIL PROTECTED] added the comment: Simon, thanks, this patch looks good to me (2.6 only, right?). I'll try it out and report back. If it looks good, I'll commit it. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3162

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-09-05 Thread Simon Cross
Simon Cross [EMAIL PROTECTED] added the comment: @Bill Janssen: There are currently two patch sets which I think should be applied. For 2.6 it's just trunk-ssl-tests.patch. For 3.0 it's 3k-ssl-methods.patch and 3k-ssl-tests.patch. @Amaury Forgeot d'Arc I agree it's not great nomenclature but

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-09-05 Thread Bill Janssen
Bill Janssen [EMAIL PROTECTED] added the comment: Re: nomenclature I think this is partly a design bug on my part, supporting the old pre-2.6 read and write methods on the SSL context. Users should really call makefile to get something they can read and write; those methods should, in 2.6,

[issue1040026] os.times() is bogus

2008-09-05 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: Yes, please move this to 3.0.1 / 2.6.1. The hard part appears to be making sure that it compiles *and* is correct on all conceivable platforms... ___ Python tracker [EMAIL PROTECTED]

[issue1291446] SSLObject breaks read semantics

2008-09-05 Thread Jonathan Ellis
Jonathan Ellis [EMAIL PROTECTED] added the comment: Ah, great. I was wondering why you kept talking about SSLSocket instead of SSLObject. New API in 2.6 is good enough for me. Thanks! ___ Python tracker [EMAIL PROTECTED]

[issue3623] _json: fix raise_errmsg(), py_encode_basestring_ascii() and linecol()

2008-09-05 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: issue3763 mentions about the similar problem with json library. The traceback posted illustrates the issue (c) mentioned here: File C:\Python30\lib\json\decoder.py, line 30, in errmsg lineno, colno = linecol(doc, pos) File

[issue3769] Deprecate bsddb for removal in 3.0

2008-09-05 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: I accidentally filed this twice, and the code review is on the other issue, so setting the superceder and closing (although the patch has not been applied yet). -- resolution: fixed - duplicate superseder: - deprecate bsddb/dbhash in

[issue3776] deprecate bsddb/dbhash in 2.6 for removal in 3.0

2008-09-05 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: Trunk done with r66232 and blocked on 3.0 with r66233. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3776

[issue3758] make check suggest a testing target under GNU coding standards

2008-09-05 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: The attached patch renames the target to patchcheck. -- keywords: +needs review, patch Added file: http://bugs.python.org/file11394/rename_check.diff ___ Python tracker [EMAIL PROTECTED]

[issue3785] Can't build ctypes of Python 2.5.2 with Sun Studio 12

2008-09-05 Thread Thomas Heller
Thomas Heller [EMAIL PROTECTED] added the comment: The libffi library in Python 2.5 is too old and won't be upgraded to a newer version. I see several possibilities for you: - Use Python 2.6 (if you can live with the beta or wait for the release) - Use Python 2.5, compile with GCC - Use

[issue3787] Make PyInstanceMethod_Type available or remove it

2008-09-05 Thread Christian Heimes
New submission from Christian Heimes [EMAIL PROTECTED]: A long time ago I added the PyInstanceMethod_Type in r59469. It's a wrapper that turns every function including PyCFunctions into a bindable function. class Example: id = instancemethod(id) Example().id() Without instancemethod the

[issue1638033] Add httponly to Cookie module

2008-09-05 Thread Matt Chisholm
Matt Chisholm [EMAIL PROTECTED] added the comment: I have updated the diff to use reST for the docs. I removed the link to MSDN from the reST docs because it is broken and I could not find the article that it was intended to point to. I also slightly re-worded the paragraph describing

[issue3787] Make PyInstanceMethod_Type available or remove it

2008-09-05 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: It's really to late to add any new features, so adding tests to testcapi seems like the right thing to do. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3787

[issue3787] Make PyInstanceMethod_Type available or remove it

2008-09-05 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: Here is a new patch as discussed on IRC. It adds the type to the _testcapi module and the tests to test_capi. Added file: http://bugs.python.org/file11397/instancemethod_capi.patch ___ Python tracker

[issue648658] xmlrpc can't do proxied HTTP

2008-09-05 Thread djc
djc [EMAIL PROTECTED] added the comment: Would this be solved by issue1424152? -- nosy: +djc ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue648658 ___

[issue3574] compile() cannot decode Latin-1 source encodings

2008-09-05 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: I have attached a new version of the patch with the changes to test_imp removed as issue 3594 fixed the need for the change. I have also directly uploaded test_pep3120.py since it is flagged as binary and thus cannot be diffed by svn. Added

[issue3574] compile() cannot decode Latin-1 source encodings

2008-09-05 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11130/fix_latin.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3574 ___

[issue3574] compile() cannot decode Latin-1 source encodings

2008-09-05 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: Added file: http://bugs.python.org/file11399/test_pep3120.py ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3574 ___

[issue3574] compile() cannot decode Latin-1 source encodings

2008-09-05 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11131/pep3120_test.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3574 ___

[issue3758] make check suggest a testing target under GNU coding standards

2008-09-05 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Patch looks fine to me. -- keywords: -needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3758 ___

[issue1638033] Add httponly to Cookie module

2008-09-05 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: The patch looks good to me and I will apply it soon if there are not objections. Rewriting of Cookie's tests should probably be another issue. -- assignee: - benjamin.peterson ___ Python

[issue3660] reference leaks in 3.0

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: encode-leak3.patch applied in r66234. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3660 ___ ___

[issue3788] test_cookie isn't comprehensive

2008-09-05 Thread Benjamin Peterson
New submission from Benjamin Peterson [EMAIL PROTECTED]: At the moment, test_cookie only tests SimpleCookie and not completely. It should test Morsel attributes and bad input better. -- components: Library (Lib), Tests keywords: easy messages: 72628 nosy: benjamin.peterson priority:

[issue3279] import of site.py fails on startup

2008-09-05 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: IMO, it's unacceptable to be running Python code before the stdio streams are set up. I believe that moving the site initialization after the setting up the streams isn't as big a problem because the dynlibs are on sys.path before site is

[issue3535] zipfile has problem reading zip files over 2GB

2008-09-05 Thread Alan McIntyre
Alan McIntyre [EMAIL PROTECTED] added the comment: Your patch seems like a better way to detect whether a file is written as Zip64, and it seems to be able to properly handle extracting a 2GB file from a 2GB archive, so I'd vote to include it. I tested it with r66233, using a file made from

[issue3535] zipfile has problem reading zip files over 2GB

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Alan, do you have commit access? Otherwise the patch needs approval from another core developer. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3535 ___

[issue3535] zipfile has problem reading zip files over 2GB

2008-09-05 Thread Alan McIntyre
Alan McIntyre [EMAIL PROTECTED] added the comment: No, I don't have commit access at the moment. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3535 ___ ___

[issue3660] reference leaks in 3.0

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Current status: test_distutils leaked [141, 142] references, sum=283 test_logging leaked [0, -219] references, sum=-219 test_smtplib leaked [0, 87] references, sum=87 The distutils leak should be investigated, but the overall situation is

[issue3535] zipfile has problem reading zip files over 2GB

2008-09-05 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- keywords: +needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3535 ___ ___ Python-bugs-list

[issue3660] reference leaks in test_distutils

2008-09-05 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: test_distutils is also leaking the the trunk: test_distutils leaked [144, 144, 144, 144] references, sum=576 -- nosy: +benjamin.peterson title: reference leaks in 3.0 - reference leaks in test_distutils versions: +Python 2.6

[issue3601] test_unicode.test_raiseMemError fails in UCS4

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Fixed in r66235, r66236. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3601 ___

[issue3279] import of site.py fails on startup

2008-09-05 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Here's a patch that builds _bytesio and _stringio right into the binary. I think Windows build files will need to be updated, though. -- keywords: +needs review Added file: http://bugs.python.org/file11400/make_modules_builtin.patch

[issue3660] reference leaks in test_distutils

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: test_distutils will be difficult; the leak is around the import xx in Lib/distutils/tests/test_build_ext.py. And Python/import.c says: /* To prevent initializing an extension module more than once, we keep a static dictionary

[issue3660] reference leaks in test_distutils

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: test_distutils will be difficult; the leak is around the import xx in Lib/distutils/tests/test_build_ext.py. And Python/import.c says: /* To prevent initializing an extension module more than once, we keep a static dictionary

[issue3660] reference leaks in test_distutils

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: It's not only the name, but a copy of the whole module dict just after import (that's why reload(sys) takes you back the sys.setdefaultencoding() function). Actually I found a (hackish) way to clean the 'extension' dict, but this is not

[issue3789] multiprocessing deadlocks when sending large data through Queue with timeout

2008-09-05 Thread David Decotigny
New submission from David Decotigny [EMAIL PROTECTED]: With the attached script, then demo() called with for example datasize=40*1024*1024 and timeout=1 will deadlock: the program never terminates. The bug appears on Linux (RHEL4) / intel x86 with multiprocessing coming with python 2.6b3 and I

[issue3789] multiprocessing deadlocks when sending large data through Queue with timeout

2008-09-05 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: - jnoller nosy: +jnoller ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3789 ___ ___

[issue3279] import of site.py fails on startup

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Windows build files will need to be updated Nothing to do here: they are already built-in, linked into Python30.dll, and listed in PC/config.c But shouldn't the two extension modules be removed from setup.py?

[issue3279] import of site.py fails on startup

2008-09-05 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Yes, indeed. Added file: http://bugs.python.org/file11402/make_modules_builtin2.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3279 ___

[issue3660] reference leaks in test_distutils

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: With the new module structure in 3.0, it should be possible to add a cleanup function. It would be a good exercise; I don't know of any module defining such a function. ___ Python tracker [EMAIL

[issue3758] make check suggest a testing target under GNU coding standards

2008-09-05 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: On the trunk with r66237 and 3.0 with r66238. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3758

[issue3279] import of site.py fails on startup

2008-09-05 Thread Alexandre Vassalotti
Alexandre Vassalotti [EMAIL PROTECTED] added the comment: Look good to me, and python-dev accepted the patch. So, go ahead and commit it. -- assignee: - benjamin.peterson resolution: - accepted ___ Python tracker [EMAIL PROTECTED]

[issue3787] Make PyInstanceMethod_Type available or remove it

2008-09-05 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Usually, when you expose things under _tescapi for testing you test it with related concepts.. I'm not sure what the correct place for this one is, though. (maybe test_class?) Anyway, you could also nest InstanceMethod and testfunction

[issue3535] zipfile has problem reading zip files over 2GB

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I also agree with the patch. This seems the correct way to detect the Zip64 format. -- nosy: +amaury.forgeotdarc ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3535

[issue3787] Make PyInstanceMethod_Type available or remove it

2008-09-05 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: The issue is no longer a release blocker for the first rc1. Barry has decided against adding instancemethod. However the new tests should be added until the final roles out. -- priority: release blocker - deferred blocker

[issue3535] zipfile has problem reading zip files over 2GB

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Fixed in r66240, r66241. Thanks! -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3535 ___

[issue3790] in zlib decompressor objects, unused_data and unconsumed_tail must be immutable

2008-09-05 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: Currently (in py3k), the attributes unused_data and unconsumed_tail on zlib decompressor objects are bytearrays. This can wreak havoc in the read() method of ZipInfo objects, because one of those bytearrays is assigned to the internal

[issue3492] Zlib compress/decompress functions returning bytearray

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: We must definitely clean up other uses of bytearray in the extension modules - see #3790 for an example. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3492

[issue3791] bsddb not completely removed

2008-09-05 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc [EMAIL PROTECTED]: Some remnants of the defunct bsddb module, on windows: - _bsddb44.lib is still compiled (but never used anywhere) - _bsddb.py is still referenced by the msi installer This is a release blocker: the installer won't work. --

[issue3789] multiprocessing deadlocks when sending large data through Queue with timeout

2008-09-05 Thread David Decotigny
David Decotigny [EMAIL PROTECTED] added the comment: A quick fix in the user code, when we are sure we don't need the child process if a timeout happens, is to call worker.terminate() in an except Empty clause. ___ Python tracker [EMAIL PROTECTED]

[issue3791] bsddb not completely removed

2008-09-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: There are many other places with bsddb. I tried to list all the files here: Doc\library\collections.rst Doc\library\dbm.rst Doc\library\shelve.rst Doc\reference\datamodel.rst Lib\pydoc_topics.py Lib\shelve.py Lib\test\regrtest.py

[issue3789] multiprocessing deadlocks when sending large data through Queue with timeout

2008-09-05 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: See http://docs.python.org/dev/library/multiprocessing.html#multiprocessing- programming Specifically: Joining processes that use queues Bear in mind that a process that has put items in a queue will wait before terminating until all the

[issue3789] multiprocessing deadlocks when sending large data through Queue with timeout

2008-09-05 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: In a later release, I'd like to massage this in such a way that you do not have to wait for a child queue to be drained prior to calling join. One way to work around this David, is to call Queue.cancel_join_thread(): def f(datasize, q):

[issue3789] multiprocessing deadlocks when sending large data through Queue with timeout

2008-09-05 Thread Jesse Noller
Changes by Jesse Noller [EMAIL PROTECTED]: -- resolution: - invalid status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3789 ___ ___

[issue3789] multiprocessing deadlocks when sending large data through Queue with timeout

2008-09-05 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: No problem David, you're the 4th person to ask me about this in the past 2 months :) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3789 ___

[issue3783] dbm.sqlite proof of concept

2008-09-05 Thread Skip Montanaro
Skip Montanaro [EMAIL PROTECTED] added the comment: OK, I made a sandbox project out of it: svn+ssh://[EMAIL PROTECTED]/sandbox/trunk/dbm_sqlite Hack away! -- assignee: - skip.montanaro ___ Python tracker [EMAIL PROTECTED]

[issue3783] dbm.sqlite proof of concept

2008-09-05 Thread Skip Montanaro
Changes by Skip Montanaro [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11386/dbm.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3783 ___ ___

[issue3783] dbm.sqlite proof of concept

2008-09-05 Thread Skip Montanaro
Changes by Skip Montanaro [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11387/sqlite.py ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3783 ___

  1   2   >