[issue3744] make altinstall installs pydoc instead of pydoc3.0

2008-09-01 Thread Uli Kunitz
New submission from Uli Kunitz [EMAIL PROTECTED]: make altinstall in Python3.0-b3 doesn't install pydoc as pydoc3.0. Renaming pydoc to pydoc3.0 doesn't create any issues. -- components: Installation messages: 72219 nosy: kune severity: normal status: open title: make altinstall installs

[issue3745] _sha256 et al. encode to UTF-8 by default

2008-09-01 Thread Hagen Fürstenau
New submission from Hagen Fürstenau [EMAIL PROTECTED]: Whereas openssl-based _hashlib refuses to accept unencoded strings: _hashlib.openssl_sha256(\xff) Traceback (most recent call last): File stdin, line 1, in module TypeError: object supporting the buffer API required the _sha256 version

[issue3746] Sphinx producing duplicate id attributes, HTML fails validation.

2008-09-01 Thread Graham Higgins
New submission from Graham Higgins [EMAIL PROTECTED]: It seems Sphinx creates duplicate ids for span elements in Permalink headers. This causes Sphinx-generated HTML to fail W3C validation. Example: http://docs.python.org/dev/tutorial/interpreter.html where id2 appears twice. --

[issue3747] Fix caching in ABCMeta.__subclasscheck__

2008-09-01 Thread Nick Coghlan
New submission from Nick Coghlan [EMAIL PROTECTED]: Two of the return paths from ABCMeta.__subclasscheck__ store the subclass being checked in _abc_registry instead of _abc_cache. The attached patch corrects the issue. -- files: meta_subclass_fix.diff keywords: needs review, patch,

[issue3747] Fix caching in ABCMeta.__subclasscheck__

2008-09-01 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: -- priority: critical - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3747 ___ ___

[issue3746] Sphinx producing duplicate id attributes, HTML fails validation.

2008-09-01 Thread Graham Higgins
Graham Higgins [EMAIL PROTECTED] added the comment: Um, hang fire. I need to do more analysis in order to reproduce the problem properly. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3746 ___

[issue3160] Building a Win32 binary installer crashes

2008-09-01 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Hi Viktor I believe no installer was released for beta3 because Martin von Löwis was on holidays and couldn't handle it. Now we are in release candidate phase, the patch needs another reviewer though. ___

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

2008-09-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: Is adding the double-quotes enough to solve the problem ? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3719 ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: I found further PEP 8 non-compliances in the multiprocessing API while working on a patch for issue 3589, mainly in the area of function names that start with a capital letter, making them look like classes when they definitely are not. After

[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto [EMAIL PROTECTED]: As title, platform.architecture() prints vogus messege. import platform platform.architecture() 指定されたパスが見つかりません。 ('32bit', 'WindowsPE') It says speicied path is not found. -- components: Library (Lib) messages: 72227 nosy:

[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6

2008-09-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto [EMAIL PROTECTED]: -- keywords: +needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3732 ___ ___ Python-bugs-list

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Patch attached that removes the misleading convenience functions, replacing them with explicit imports of the appropriate names. The patch also adds docstrings to some of the original class definitions that were missing them. No changes were

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Benjamin's patch was applied in r65982 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___

[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: This difference between trunk and py3k would go down to this. import os os.popen(r'file e:\python-dev\py3k\PC\VC6\python_d.exe 2 /dev/null') trunk prints nothing, but py3k prints that message. I don't know which is popen's correct

[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: The call to _syscmd_file() should be avoided on windows platforms: - the file program does not exist - the stderr is redirected to /dev/null, which does not necessarily exists! On my machine, there is a c:\dev directory. Now it contains

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Patch added that removes the incorrect Py3k warnings from the threading module (also restores the methods to the same __name__ attributes as they had in 2.5). Added file:

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: I think it's better to disable that function in the same way as done for _syscmd_uname: if sys.platform in ('dos','win32','win16','os2'): # XXX Others too ? return default BTW: I assume you are running this on win32,

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg [EMAIL PROTECTED]: -- assignee: - lemburg ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748 ___ ___ Python-bugs-list

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: I've attached patch. (trunk) BTW: I assume you are running this on win32, right ? Yes, I'm running win2k. -- assignee: lemburg - keywords: +patch versions: -Python 2.6 Added file: http://bugs.python.org/file11325/fix.patch

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

2008-09-01 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Thanks for adjusting the targets ben On Aug 31, 2008, at 9:56 PM, Benjamin Peterson [EMAIL PROTECTED] wrote: Changes by Benjamin Peterson [EMAIL PROTECTED]: -- versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Second patch added that removes the deprecation warnings from the Py3k version of the threading module. Added file: http://bugs.python.org/file11326/issue3352_remove_threading_deprecation_warnings.diff ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: -- keywords: +needs review -patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: -- assignee: jnoller - ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: -- keywords: +patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Interesting - in some of the other work I was doing regarding the PEP 8 compliant alternative threading API, I noticed that the threading module contains similar gems such as: def Event(*args, **kwds): return _Event(*args, **kwds) Using a

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: It turns out threading uses the odd class-that-is-not-a-class naming scheme as well: threading.Lock threading.RLock threading.Condition threading.Semaphore threading.BoundedSemaphore threading.Event threading.Timer

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Patch added to tone down note regarding the PEP 8 compliant aliases that have been added to the threading module. Added file: http://bugs.python.org/file11327/issue3352_tone_down_26_threading_docs.diff ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: And one last patch to adjust the threading docs in Py3k to reflect the fact that the 2.x API is still supported, even if it is no longer documented. Added file: http://bugs.python.org/file11328/issue3352_update_30_threading_docs.diff

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11324/issue3352_remove_threading_py3k_warnings.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Updated the 2.6 threading patch to also remove the warnings from the methods that are being replaced by properties. Added file: http://bugs.python.org/file11329/issue3352_remove_threading_py3k_warnings.diff

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: The patches look good to me. Please apply. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___

[issue3712] memoryview leaks references

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I think the patch looks good. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3712 ___

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: This is why multiprocessing had them nick - the threading module does On Sep 1, 2008, at 9:07 AM, Nick Coghlan [EMAIL PROTECTED] wrote: Nick Coghlan [EMAIL PROTECTED] added the comment: Interesting - in some of the other work I was doing

[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Go ahead and apply. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3732 ___

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: Looks good. Could you apply it to both trunk and the py3k branch ?! Mark it Reviewed by Marc-Andre Lemburg to keep folks happy ;-) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748

[issue3749] incrementalencoder and incrementalencoder

2008-09-01 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi [EMAIL PROTECTED]: In the codecs module section of the Library Reference, an explanation about incrementalencoder and decoder starts with incrementalencoder and incrementalencoder: (both are 'encoder's). Moreover, the corresponding class name for

[issue3683] compilation --without-threads fails

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Fixed in r66099. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3683 ___

[issue3712] memoryview leaks references

2008-09-01 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- keywords: -needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3712 ___ ___ Python-bugs-list

[issue3639] segfaults calling warnings.warn() with non-string message

2008-09-01 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- keywords: -needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3639 ___ ___ Python-bugs-list

[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: Thanks, fixed in r66100. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3732 ___

[issue3160] Building a Win32 binary installer crashes

2008-09-01 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: +ocean-city ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3160 ___ ___ Python-bugs-list mailing

[issue3697] Fatal Python error: Cannot recover from stack overflow on Windows buildbots

2008-09-01 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: +ocean-city ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3697 ___ ___ Python-bugs-list mailing

[issue3602] Move test.test_suport.catch_warning() to the 'warnings' module

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I think the patch can now go in. -- keywords: -needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3602 ___

[issue2501] xml.sax.parser() doesn't terminate when given a filename

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: The patch looks great. (I love enabling disabled tests!) -- keywords: -needs review nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2501

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-09-01 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I think you need to clear the exception again before returning. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3653 ___

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: Thanks, fixed in r66104(trunk) and r66106(py3k) -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748

[issue3520] New Global Module Index glitch on WinXP

2008-09-01 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Should be fixed in sphinx trunk with r66107, and in the next beta/rc. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3520

[issue3548] subprocess.pipe function

2008-09-01 Thread Vincent Legoll
Vincent Legoll [EMAIL PROTECTED] added the comment: - Added shut pylint up comment for ** keyword expansion - Added Copyright license header Added file: http://bugs.python.org/file11330/pipeline.py ___ Python tracker [EMAIL PROTECTED]

[issue3750] test_bsddb3 skipped -- cannot import name test_support

2008-09-01 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: This is what I get with the current py3k branch: test_bsddb3 skipped -- cannot import name test_support In py3k test/test_support.py has been renamed to test/support.py. The fix should be simple enough :) -- assignee: jcea

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Forest Bond
New submission from Forest Bond [EMAIL PROTECTED]: Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type help, copyright, credits or license for more information. u'/foo/bar'.rpartition(u'/') (u'/foo', u'/', u'bar') '/foo/bar'.rpartition(u'/')

[issue3752] test_bsddb broken

2008-09-01 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: Since the latest bsddb merge, test_bsddb is basically broken, all tests fail with the same error (see also the buildbots): == ERROR: test_update

[issue3712] memoryview leaks references

2008-09-01 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Fixed in r66111. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3712 ___

[issue3548] subprocess.pipe function

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Vincent, GPL licenced code is incompatible with the inclusion into python. And if I am correct, you should sign a contributor agreement. Then the licence text is not necessary. -- nosy: +amaury.forgeotdarc

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: It's not failing, it's simply calling unicode.partition instead of unicode.rpartition! -- keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file11331/rpartition.patch

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Adding a few tests wouldn't hurt :) -- nosy: +pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3751 ___

[issue2874] Remove use of the stat module in the stdlib

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Deferring to 2.7/3.1 as discussed on the mailing list. -- priority: release blocker - critical versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker [EMAIL PROTECTED]

[issue3753] bytearray incompatible with bytes

2008-09-01 Thread Pyry Pakkanen
New submission from Pyry Pakkanen [EMAIL PROTECTED]: I was expecting that the API function PyArg_ParseTuple(args, y#:foo, cp, size) would accept a bytearray and implicitly convert it to bytes. Currently it throws the error: TypeError: foo() argument 1 must be bytes or read-only buffer, not

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-09-01 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: As indicated by other posters, this *IS A* serious issue with urllib2 as it does not do CONNECT for HTTPS through Proxy and it fails. chrisl, I verified your patch and it works properly. I made some minor changes (make a method private and changes

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-09-01 Thread Senthil
Changes by Senthil [EMAIL PROTECTED]: -- components: +Library (Lib) -None versions: +Python 2.6, Python 3.0 Added file: http://bugs.python.org/file11333/issue1424152-py3k.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1424152

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-09-01 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: Test issue1424152-py26-test_urllib2net.diff and issue1424152-py3k-test_urllib2net.diff patches has a dependency on Issue1251 for failure scenarios. Issue1251 deals with ssl module not support non-blocking handshakes. So, when the HTTPS environment is

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-09-01 Thread Senthil
Changes by Senthil [EMAIL PROTECTED]: Added file: http://bugs.python.org/file11335/issue1424152-py3k-test_urllib2net.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1424152 ___

[issue1251] ssl module doesn't support non-blocking handshakes

2008-09-01 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: This issue is yet not fixed for both Py2.6 and Py3k. The tests which are present in code are not run (or disabled) in test_ssl.py I understand, customers have a good chance of hitting upon this issue. When ssl do_handshake() does not timeout and

[issue3753] bytearray incompatible with y#

2008-09-01 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Yes, you must use y* instead: see http://docs.python.org/dev/3.0/c-api/arg.html y# would not be safe to use with bytearray since another thread could mutate the bytearray in-between, possibly reallocating the internal buffer (to shrink or grow

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

2008-09-01 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Another place this could go is in the examples FWIW ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3735 ___ ___

[issue3125] test_multiprocessing causes test_ctypes to fail

2008-09-01 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Working on the py3k patch now, bumping to rel. blocker -- priority: - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3125 ___

[issue3753] bytearray incompatible with y#

2008-09-01 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Documented in r66113. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3753 ___

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Jesse Noller
Changes by Jesse Noller [EMAIL PROTECTED]: -- keywords: +needs review -patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3589 ___ ___

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Patch reviewed/tested and I also confirmed that this doesn't affect the examples. I submitted the patch in r66114 -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue3731] import warning in multiprocessing

2008-09-01 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Prior to you getting this error: Did you get a compilation error during the make? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3731 ___

[issue3747] Fix caching in ABCMeta.__subclasscheck__

2008-09-01 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Looks good. -- nosy: +georg.brandl resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3747 ___

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Reopening, there's a bug that the tests/examples/etc didn't catch (and nor did I), after the patch application: woot:python-trunk jesse$ ./python.exe Python 2.6b3+ (trunk:66112:66114M, Sep 1 2008, 13:00:19) [GCC 4.0.1 (Apple Inc. build

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Ben is backing out the patch now ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3589 ___ ___ Python-bugs-list

[issue3731] import warning in multiprocessing

2008-09-01 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Indeed. _multiprocessing.so compiles fine but afterwards I get: *** WARNING: importing extension _multiprocessing failed with type 'exceptions.AttributeError': 'module' object has no attribute 'SemLock' And if I try manually: import

[issue3125] test_multiprocessing causes test_ctypes to fail

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Jesse, It seems that the patch was merged into py3k by r65883. The trick was from pickle import _Pickler as Pickler to get the subclassable python implementation. The only remaining point is the handling of dictionary views (see

[issue3731] import warning in multiprocessing

2008-09-01 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Mmmh, after doing svn up again and recompiling, the extension imports fine and the ImportWarning disappears. -- resolution: - out of date status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue3738] logging.Handler.close does something

2008-09-01 Thread Vinay Sajip
Vinay Sajip [EMAIL PROTECTED] added the comment: Documentation fix checked in. The current behaviour is by design - but the documentation was wrong and needed fixing. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue3726] Allow ', whitespace' delimiters in logging.config.fileConfig()

2008-09-01 Thread Vinay Sajip
Changes by Vinay Sajip [EMAIL PROTECTED]: -- assignee: - vsajip nosy: +vsajip ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3726 ___ ___

[issue1251] ssl module doesn't support non-blocking handshakes

2008-09-01 Thread Bill Janssen
Bill Janssen [EMAIL PROTECTED] added the comment: I believe this is now implemented in all the branches. And when I run the tests, they run fine. There's still an issue with unwrap; it does a blocking tear-down of the SSL session, and can block when you don't want it to. I'll have to look

[issue1251] ssl module doesn't support non-blocking handshakes

2008-09-01 Thread Bill Janssen
Changes by Bill Janssen [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10337/unnamed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1251 ___ ___

[issue600362] relocate cgi.parse_qs() into urlparse

2008-09-01 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Senthil, please update the patchs, adding a DeprecationWarning in 3.0 and a PendingDeprecationWarning in 2.6. Thanks! ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue600362

[issue3697] Fatal Python error: Cannot recover from stack overflow on Windows buildbots

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: Sorry, I don't know about interpreter core, and I cannot reproduce this error. I believe Trent is more familiar with buildbot and python core than me. -- nosy: +Trent.Nelson ___ Python tracker

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-09-01 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/issue1424152 ___ ___ Python-bugs-list mailing

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Updated patch, with tests. This is a 2.5 backport candidate. -- keywords: +needs review Added file: http://bugs.python.org/file11336/rpartition.patch ___ Python tracker [EMAIL PROTECTED]

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11331/rpartition.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3751 ___

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Go ahead with the patch and backporting; it looks fine to me. -- keywords: -needs review nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3751

[issue2501] xml.sax.parser() doesn't terminate when given a filename

2008-09-01 Thread Daniel Diniz
Daniel Diniz [EMAIL PROTECTED] added the comment: Looks like this is a duplicate of issue3590, so this patch fixes two release blockers ;) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2501 ___

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Committed r66119 (trunk) and r66121 (python2.5) Thanks for the report! -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3751

[issue3297] Python interpreter uses Unicode surrogate pairs only before the pyc is created

2008-09-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: On 2008-08-29 23:33, Terry J. Reedy wrote: Terry J. Reedy [EMAIL PROTECTED] added the comment: Just to clarify: Python can be built as UCS2 or UCS4 build (not UTF-16 vs. UTF-32) I recently read most of the Unicode 5 standard and as

[issue3708] os.urandom(1.1): infinite loop

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: The patch looks fine to me as well. -- keywords: -needs review nosy: +amaury.forgeotdarc resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3708

[issue1767370] Make xmlrpc use HTTP/1.1 and keepalive

2008-09-01 Thread Ionut Turturica
Ionut Turturica [EMAIL PROTECTED] added the comment: Note that win32 Python's socket module doesn't have a MSG_DONTWAIT constant defined. So the following code will fail on windows machines. +self.__connection.sock.recv(1, +

[issue3602] Move test.test_suport.catch_warning() to the 'warnings' module

2008-09-01 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: -- assignee: - brett.cannon ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3602 ___ ___ Python-bugs-list

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Given how long I've been using the threading module without realising it does the same thing, I'm actually prepared to live with the wrapper functions rather than messing with this so close to release. As Fredrik noted in the python-dev thread,

[issue3743] PY_FORMAT_SIZE_T is not for PyString_FromFormat

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: No, and this is the reason of the patch: PyUnicode_FromFormat and PyErr_Format do not use the platform printf. The code (in Objects/unicodeobject.c) is platform-independent; %zd is the way to print a ssize_t variable on all platforms.

[issue3743] PY_FORMAT_SIZE_T is not for PyString_FromFormat

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: You're right, Chris, I didn't think of that... Did I miss something? or some joke I do not understand? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3743

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Sounds good to me. :) -- nosy: +benjamin.peterson resolution: - wont fix status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3589

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Regarding the factory functions that are named as if they were classes, Fredrik noted on python-dev that the ones from the threading module are explicitly documented as being factory functions, and the multiprocessing API really just follows that

[issue3754] minimal cross-compilation support for configure

2008-09-01 Thread Roumen Petrov
New submission from Roumen Petrov [EMAIL PROTECTED]: This is minimal patch that add basic cross-compilation possibilities for python build (configure script). The patch add macro AC_CANONICAL_HOST. This macro require files config.guess, config.sub. The patch don't include them. You may obtain

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Ben, if you get a chance to apply those patches, feel free, otherwise I should be able to get to them this evening (my time - about 10 hours from now). ___ Python tracker [EMAIL PROTECTED]

[issue3720] segfault in for loop with evil iterator

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Did you notice that the definition of PyIter_Check() also changed? class T(object): ... def __iter__(self): return self ... iter(T()) Traceback (most recent call last): File stdin, line 1, in module TypeError: iter() returned

[issue3750] test_bsddb3 skipped -- cannot import name test_support

2008-09-01 Thread Jesús Cea Avión
Jesús Cea Avión [EMAIL PROTECTED] added the comment: Patch summitted as r66123 and r66124. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3750 ___

  1   2   >