[issue3720] segfault in for loop with evil iterator

2008-08-31 Thread Armin Rigo
Armin Rigo [EMAIL PROTECTED] added the comment: Hacking at typeobject.c should always be done extremely carefully. I don't have time to review this patch as thouroughly as I think it needs to be. (A quick issue is that it seems to break PyIter_Check() which will always return true now, but I'd

[issue643841] New class special method lookup change

2008-08-31 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Docs updated for 3.0 in r66084 (and I was right in thinking the automatic merge didn't have a hope of getting this right - there were conflicts all the way through the file). Closing this issue after a mere 5 years and 9 months - any requests

[issue2235] __eq__ / __hash__ check doesn't take inheritance into account

2008-08-31 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: __hash__() documentation fixed for 2.6 in r66085 and for 3.0 in r66086. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2235

[issue3715] hashlib's docstring throws exception in pydoc

2008-08-31 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: -- assignee: - gregory.p.smith nosy: +gregory.p.smith priority: - normal ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3715 ___

[issue3715] hashlib's docstring throws exception in pydoc

2008-08-31 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: fixed in trunk r66093, py3k r66094, release25-maint r66095 -- keywords: +easy resolution: - fixed status: open - closed versions: +Python 2.5, Python 2.6 ___ Python tracker [EMAIL PROTECTED]

[issue3741] DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception

2008-08-31 Thread Paul TBBle Hampson
New submission from Paul TBBle Hampson [EMAIL PROTECTED]: Basically, if DISTUTILS_USE_SDK is set in the environment and an extension is attempted to be built from within the Windows SDK shell (ie. MSSdk is set in the environment as well), msvc9compiler.py will raise an exception due to a

[issue3741] DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception

2008-08-31 Thread Paul TBBle Hampson
Paul TBBle Hampson [EMAIL PROTECTED] added the comment: The line my patch adds was present originally, and lost when msvccompiler.py was duplicated into msvc9compiler.py in revision 59290. http://svn.python.org/view?rev=59290view=rev ___ Python tracker

[issue3742] Parsing XML file with Unicode characters causes problem

2008-08-31 Thread Joshua Logan
New submission from Joshua Logan [EMAIL PROTECTED]: Python 3.0b2 will not parse the XML file located at http://rubyquiz.com/SongLibrary.xml.gz It complains of a UnicodeEncodeError 'charmap' codec can't encode character '\xc8' in position 45: ch aracter maps to undefined I included a sample

[issue3743] PY_FORMAT_SIZE_T is not for PyString_FromFormat

2008-08-31 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc [EMAIL PROTECTED]: test_deque fails on win64 buildbot: AssertionError: 'deque([7, 8, 9], maxlen=%Id)' != 'deque([7, 8, 9], maxlen=3)' A PY_FORMAT_SIZE_T format is incorrectly used with PyUnicode_FromFormat. The correct format here is %zd.

[issue3743] PY_FORMAT_SIZE_T is not for PyString_FromFormat

2008-08-31 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Looks good to me. -- nosy: +georg.brandl ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3743 ___ ___

[issue3743] PY_FORMAT_SIZE_T is not for PyString_FromFormat

2008-08-31 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: O -- nosy: +christian.heimes ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3743 ___ ___

[issue3743] PY_FORMAT_SIZE_T is not for PyString_FromFormat

2008-08-31 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: You're right, Chris, I didn't think of that... ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3743 ___ ___

[issue2001] Pydoc interactive browsing enhancement

2008-08-31 Thread Ron Adam
Ron Adam [EMAIL PROTECTED] added the comment: New patch to replace outdated patch due to other changes to pydoc. The easies way to try this out is to: import pydoc pydoc.gui() Try it before and after the patch. I think most people will prefer the patch. Added file:

[issue2001] Pydoc interactive browsing enhancement

2008-08-31 Thread Ron Adam
Changes by Ron Adam [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9350/pydocnotk.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2001 ___ ___

[issue2001] Pydoc interactive browsing enhancement

2008-08-31 Thread Ron Adam
Changes by Ron Adam [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9423/pydocnotk.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2001 ___ ___

[issue2001] Pydoc interactive browsing enhancement

2008-08-31 Thread Ron Adam
Changes by Ron Adam [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9448/pydocnotk.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2001 ___ ___

[issue3740] PEP 3121 --- module state is not nul-initalized as claimed in the PEP

2008-08-31 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: - loewis nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3740 ___ ___

[issue3735] allow multiple threads to efficiently send the same requests to a processing.Pool without incurring duplicate processing

2008-08-31 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3735 ___

[issue3719] platform.py: _syscmd_file() can't handle target path with space or special shell character

2008-08-31 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: - lemburg nosy: +lemburg ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3719 ___ ___

[issue3738] logging.Handler.close does something

2008-08-31 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: georg.brandl - vsajip nosy: +vsajip ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3738 ___

[issue3160] Building a Win32 binary installer crashes

2008-08-31 Thread Viktor Ferenczi
Viktor Ferenczi [EMAIL PROTECTED] added the comment: Thanks. I've tested the patch, it worked for me. However, I had to apply it manually. No big deal, since not a big patch, anyway. :-) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3160

[issue3160] Building a Win32 binary installer crashes

2008-08-31 Thread Viktor Ferenczi
Viktor Ferenczi [EMAIL PROTECTED] added the comment: Note: I tested the patch with the latest beta 2 release. The Windows installer is beta2, but beta3 is announced. I don't understand why, Guido should know... ___ Python tracker [EMAIL PROTECTED]