[issue3744] make altinstall installs pydoc instead of pydoc3.0
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 pydoc instead of pydoc3.0 type: behavior versions: Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3744 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3745] _sha256 et al. encode to UTF-8 by default
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 encodes to UTF-8 by default: _sha256.sha256(\xff).digest() == _sha256.sha256(\xff.encode(utf-8)).digest() True I think refusing is better, but at least the behaviour should be consistent. Same for the other algorithms in hashlib. -- components: Library (Lib) messages: 72220 nosy: hagen severity: normal status: open title: _sha256 et al. encode to UTF-8 by default type: behavior versions: Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3745 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3746] Sphinx producing duplicate id attributes, HTML fails validation.
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. -- assignee: georg.brandl components: Documentation tools (Sphinx) messages: 72221 nosy: georg.brandl, gjhiggins severity: normal status: open title: Sphinx producing duplicate id attributes, HTML fails validation. type: behavior versions: Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3746 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3747] Fix caching in ABCMeta.__subclasscheck__
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, patch messages: 7 nosy: ncoghlan priority: critical severity: normal status: open title: Fix caching in ABCMeta.__subclasscheck__ versions: Python 2.6, Python 3.0 Added file: http://bugs.python.org/file11322/meta_subclass_fix.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3747 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3747] Fix caching in ABCMeta.__subclasscheck__
Changes by Nick Coghlan [EMAIL PROTECTED]: -- priority: critical - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3747 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3746] Sphinx producing duplicate id attributes, HTML fails validation.
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3160] Building a Win32 binary installer crashes
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. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3160 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3719] platform.py: _syscmd_file() can't handle target path with space or special shell character
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
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 noticing a few of these, I went through checked more thoroughly, and found all of the following to be functions that claimed to be classes by way of their naming convention (a far worse sin than using camelCase instead of underscores): multiprocessing.Pipe (aka multiprocessing.connection.Pipe) multiprocessing.RawValue (aka multiprocessing.sharedctypes.RawValue) multiprocessing.RawArray (aka multiprocessing.sharedctypes.RawArray) multiprocessing.Value (aka multiprocessing.sharedctypes.Value) multiprocessing.Array (aka multiprocessing.sharedctypes.Array) multiprocessing.connection.Client multiprocessing.connection.SocketClient multiprocessing.connection.PipeClient multiprocessing.connection.XmlClient multiprocessing.managers.RebuildProxy multiprocessing.managers.MakeProxyType multiprocessing.managers.AutoProxy multiprocessing.managers.Array These should all be converted to start with a lowercase letter and use underscores, otherwise people are going to assume they can be treated like classes. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3748] [py3k] platform.architecture() prints vogus messege on windows
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: ocean-city severity: normal status: open title: [py3k] platform.architecture() prints vogus messege on windows versions: Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6
Changes by Hirokazu Yamamoto [EMAIL PROTECTED]: -- keywords: +needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3732 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3589] Misleading names for multiprocessing convenience functions
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 needed to the multiprocessing tests - they all still passed with this change, and the docs are still accurate as well (I would actually say this change makes the docs MORE accurate). Python 2.6b3+ (trunk:66083, Aug 31 2008, 19:00:32) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type help, copyright, credits or license for more information. import multiprocessing as mp isinstance(mp.Lock(), mp.Lock) True mp.Lock.__name__ 'Lock' mp.Lock.__module__ 'multiprocessing.synchronize' -- keywords: +patch Added file: http://bugs.python.org/file11323/issue3589_true_aliases_in_multiprocessing.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
Nick Coghlan [EMAIL PROTECTED] added the comment: Benjamin's patch was applied in r65982 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3748] [py3k] platform.architecture() prints vogus messege on windows
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 behavior, we can supress this message by using subprocess.Popen instead. Index: Lib/platform.py === --- Lib/platform.py (revision 66090) +++ Lib/platform.py (working copy) @@ -110,7 +110,7 @@ __version__ = '1.0.6' -import sys, os, re +import sys, os, re, subprocess ### Platform specific APIs @@ -942,7 +942,7 @@ target = _follow_symlinks(target) try: -f = os.popen('file %s 2 /dev/null' % target) +f = subprocess.Popen('file %s 2 /dev/null' % target, stdout=subprocess .PIPE, stderr=subprocess.PIPE).stdout except (AttributeError,os.error): return default output = f.read().strip() ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3748] [py3k] platform.architecture() prints vogus messege on windows
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 a file named null, which content is 'file' is not recognized as an internal or external command, operable program or batch file. No comment. -- nosy: +amaury.forgeotdarc ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
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: http://bugs.python.org/file11324/issue3352_remove_threading_py3k_warnings.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3748] platform.architecture() prints bogus message on windows
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, right ? -- nosy: +lemburg title: [py3k] platform.architecture() prints vogus messege on windows - platform.architecture() prints bogus message on windows versions: +Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3748] platform.architecture() prints bogus message on windows
Changes by Marc-Andre Lemburg [EMAIL PROTECTED]: -- assignee: - lemburg ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3748] platform.architecture() prints bogus message on windows
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3735] allow multiple threads to efficiently send the same requests to a processing.Pool without incurring duplicate processing
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3735 ___ ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3735 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
Changes by Nick Coghlan [EMAIL PROTECTED]: -- keywords: +needs review -patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
Changes by Nick Coghlan [EMAIL PROTECTED]: -- assignee: jnoller - ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
Changes by Nick Coghlan [EMAIL PROTECTED]: -- keywords: +patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3589] Misleading names for multiprocessing convenience functions
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 factory function to discourage subclassing is one thing, but why name the factory function as if it was a still a class? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
Benjamin Peterson [EMAIL PROTECTED] added the comment: The patches look good to me. Please apply. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3712] memoryview leaks references
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3589] Misleading names for multiprocessing convenience functions
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 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 factory function to discourage subclassing is one thing, but why name the factory function as if it was a still a class? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3589 ___ ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6
Benjamin Peterson [EMAIL PROTECTED] added the comment: Go ahead and apply. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3732 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3748] platform.architecture() prints bogus message on windows
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3749] incrementalencoder and incrementalencoder
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 incrementaldecoder is also referred as IncrementalEncoder. -- assignee: georg.brandl components: Documentation messages: 72247 nosy: georg.brandl, mft severity: normal status: open title: incrementalencoder and incrementalencoder versions: Python 2.5, Python 2.6, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3749 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3683] compilation --without-threads fails
Benjamin Peterson [EMAIL PROTECTED] added the comment: Fixed in r66099. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3683 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3712] memoryview leaks references
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- keywords: -needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3712 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3639] segfaults calling warnings.warn() with non-string message
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- keywords: -needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3639 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3160] Building a Win32 binary installer crashes
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: +ocean-city ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3160 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3697] Fatal Python error: Cannot recover from stack overflow on Windows buildbots
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: +ocean-city ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3602] Move test.test_suport.catch_warning() to the 'warnings' module
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2501] xml.sax.parser() doesn't terminate when given a filename
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3653] segfault calling sys.excepthook with non-Exception argument
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3748] platform.architecture() prints bogus message on windows
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3520] New Global Module Index glitch on WinXP
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3548] subprocess.pipe function
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] http://bugs.python.org/issue3548 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3750] test_bsddb3 skipped -- cannot import name test_support
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 components: Library (Lib), Tests messages: 72258 nosy: jcea, pitrou priority: critical severity: normal status: open title: test_bsddb3 skipped -- cannot import name test_support type: behavior versions: Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3750 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3751] str.rpartition fails silently with unicode argument
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'/') (u'', u'/', u'foo/bar') -- components: None messages: 72259 nosy: forest_atq severity: normal status: open title: str.rpartition fails silently with unicode argument versions: Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3751 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3752] test_bsddb broken
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 (test.test_bsddb.TestBTree_InMemory_Truncate) -- Traceback (most recent call last): File /home/antoine/py3k/__svn__/Lib/test/test_bsddb.py, line 20, in setUp self.f = self.do_open(self.fname, self.openflag, cachesize=32768) File /home/antoine/py3k/__svn__/Lib/test/test_bsddb.py, line 17, in do_open return bsddb.StringValues(bsddb.StringKeys(self.openmethod[0](*args, **kw))) AttributeError: 'module' object has no attribute 'StringValues' -- assignee: jcea components: Tests messages: 72260 nosy: jcea, pitrou priority: critical severity: normal status: open title: test_bsddb broken type: behavior versions: Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3752 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3712] memoryview leaks references
Antoine Pitrou [EMAIL PROTECTED] added the comment: Fixed in r66111. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3712 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3548] subprocess.pipe function
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3548 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3751] str.rpartition fails silently with unicode argument
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3751 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3751] str.rpartition fails silently with unicode argument
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2874] Remove use of the stat module in the stdlib
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] http://bugs.python.org/issue2874 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3753] bytearray incompatible with bytes
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 bytearray -- messages: 72266 nosy: Frostburn severity: normal status: open title: bytearray incompatible with bytes type: behavior versions: Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3753 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails
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 w.r.t code in the trunk) and also added tests and NEWS to support its inclusion in the trunk. Facundo, we should try to include this in py26/py3k, I have attached the patch for both. There is a extra patch for test_urllib2net.py which tests real-time HTTPS connectivity taking the proxies from environment variables (HTTPS_PROXY). However, that has a serious dependency on Issue1251, which is still in Open state. When the bug Issue1251 is fixed, we can include the issue1424152-py26-test_urllib2net.diff separately. -- keywords: +patch Added file: http://bugs.python.org/file11332/issue1424152-py26.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1424152 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails
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 NOT SET, while HTTPS Proxy is used, this test will try to a do_handshake() in ssl module and will return as it wont get timed-out. This test case can be included after Issue1251 is fixed. Added file: http://bugs.python.org/file11334/issue1424152-py26-test_urllib2net.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1424152 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1251] ssl module doesn't support non-blocking handshakes
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 application just hangs! Janssen, would you like to close on this? Issue1424152 (for certain scenarios) has a dependency upon this one. -- nosy: +orsenthil versions: +Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1251 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3753] bytearray incompatible with y#
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 it), and lead to a segfault when your thread uses the obsolete pointer. IMO, the documentation should mention that the '*' codes (y*, s*, etc.) must be used in preference to the '#' codes, which are there for backwards compatibility. -- assignee: - georg.brandl components: +Documentation nosy: +georg.brandl, pitrou title: bytearray incompatible with bytes - bytearray incompatible with y# versions: +Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3753 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3735] allow multiple threads to efficiently send the same requests to a processing.Pool without incurring duplicate processing
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3125] test_multiprocessing causes test_ctypes to fail
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3753] bytearray incompatible with y#
Georg Brandl [EMAIL PROTECTED] added the comment: Documented in r66113. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3753 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3589] Misleading names for multiprocessing convenience functions
Changes by Jesse Noller [EMAIL PROTECTED]: -- keywords: +needs review -patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3589] Misleading names for multiprocessing convenience functions
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] http://bugs.python.org/issue3589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3731] import warning in multiprocessing
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3747] Fix caching in ABCMeta.__subclasscheck__
Georg Brandl [EMAIL PROTECTED] added the comment: Looks good. -- nosy: +georg.brandl resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3747 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3589] Misleading names for multiprocessing convenience functions
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 5484)] on darwin Type help, copyright, credits or license for more information. import _multiprocessing Traceback (most recent call last): File stdin, line 1, in module File /Users/jesse/open_source/subversion/python- trunk/Lib/multiprocessing/__init__.py, line 148, in module from multiprocessing.synchronize import (Lock, RLock, Condition, Event, File /Users/jesse/open_source/subversion/python- trunk/Lib/multiprocessing/synchronize.py, line 29, in module SEM_VALUE_MAX = _multiprocessing.SemLock.SEM_VALUE_MAX AttributeError: 'module' object has no attribute 'SemLock' -- resolution: fixed - status: closed - open ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3589] Misleading names for multiprocessing convenience functions
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 mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3731] import warning in multiprocessing
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 _multiprocessing Traceback (most recent call last): File stdin, line 1, in module File /home/antoine/cpython/__svn__/Lib/multiprocessing/__init__.py, line 148, in module from multiprocessing.synchronize import (Lock, RLock, Condition, Event, File /home/antoine/cpython/__svn__/Lib/multiprocessing/synchronize.py, line 29, in module SEM_VALUE_MAX = _multiprocessing.SemLock.SEM_VALUE_MAX AttributeError: 'module' object has no attribute 'SemLock' Removing the .pyc files doesn't help. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3731 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3125] test_multiprocessing causes test_ctypes to fail
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 rebuild_as_list() in managers.py). I had to register them with copyreg.pickle, because the C function connection_send_obj() uses the original pickler. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3125 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3731] import warning in multiprocessing
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] http://bugs.python.org/issue3731 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3738] logging.Handler.close does something
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] http://bugs.python.org/issue3738 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3726] Allow ', whitespace' delimiters in logging.config.fileConfig()
Changes by Vinay Sajip [EMAIL PROTECTED]: -- assignee: - vsajip nosy: +vsajip ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3726 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1251] ssl module doesn't support non-blocking handshakes
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 further at that. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1251 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1251] ssl module doesn't support non-blocking handshakes
Changes by Bill Janssen [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10337/unnamed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1251 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue600362] relocate cgi.parse_qs() into urlparse
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3697] Fatal Python error: Cannot recover from stack overflow on Windows buildbots
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 [EMAIL PROTECTED] http://bugs.python.org/issue3697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails
Changes by Jesús Cea Avión [EMAIL PROTECTED]: -- nosy: +jcea ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1424152 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3751] str.rpartition fails silently with unicode argument
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] http://bugs.python.org/issue3751 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3751] str.rpartition fails silently with unicode argument
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3751] str.rpartition fails silently with unicode argument
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2501] xml.sax.parser() doesn't terminate when given a filename
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3751] str.rpartition fails silently with unicode argument
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3297] Python interpreter uses Unicode surrogate pairs only before the pyc is created
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 near as I could tell it no longer uses the term UCS, if it ever did. UCS2 and UCS4 are terms which stem from the versions of Unicode that were current at the time of adding Unicode support to Python, ie. in the year 2000 when ISO 10646 and the Unicode spec co-existed. See http://en.wikipedia.org/wiki/Universal_Character_Set for details. UTF-16 is a transfer encoding that is based on UCS2 by adding surrogate pair interpretations. UTF-32 is the same for UCS4, but also restricting the range of valid code points to the range covered by UTF-16. Whether surrogates are supported or not and how they are supported depends entirely on the codecs you use to convert the internal format to some encoding. If it really was UCS-2, the repr wouldn't be u'\U00010123' on windows. It'd be a pair of ill-formed code units instead. You are mixing the internal representation of Unicode code points with the result of passing those values through one of the codecs, e.g. the unicode-escape codec is responsible for converting between the string representation u'\U00010123' and the internal representation. Also note that because Python can be built using two different internal representations, the results of the codecs may vary depending on platform. BTW: There's no such thing as an ill-formed code unit. What you probably mean is an ill-formed code unit sequence. However, those refer to the output or accepted input values of a codec, not the internal representation. Please also note that because Python can be used to build valid and parse possibly invalid Unicode encoding data, it has to have the ability to work with Unicode code points regardless of whether they can be interpreted as lone surrogates or not (hence the usage of the terms UCS2/UCS4 which don't support surrogates). Whether the codecs should raise exceptions and possibly let an error handler decide whether or not to accept and/or generate ill-formed code unit sequences is another question. I hope that clears up the reasoning for using UCS2/UCS4 rather than UTF-16/UTF-32 when referring to the internal Unicode representation of Python. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3297 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3708] os.urandom(1.1): infinite loop
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1767370] Make xmlrpc use HTTP/1.1 and keepalive
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, +socket.MSG_PEEK | +socket.MSG_DONTWAIT) Good job with this patch. It would've been interesting to have a flag to switch to old http1.0 and see the differences in terms of performance. Ionut -- nosy: +jonozzz type: - behavior ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1767370 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3602] Move test.test_suport.catch_warning() to the 'warnings' module
Changes by Brett Cannon [EMAIL PROTECTED]: -- assignee: - brett.cannon ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3602 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3589] Misleading names for multiprocessing convenience functions
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, the threading versions of these are already explicitly documented as being factory functions rather than classes (and as a reference to _thread.allocate_lock, threading.Lock has good reason to be a factory function rather than a class), so it may be appropriate to do the same thing for multiprocessing. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3743] PY_FORMAT_SIZE_T is not for PyString_FromFormat
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. My only observation is that %zd does not exist before python2.5, and the code of multiprocessing currently seems to be compatible with python 2.4. I don't know if this is important. -- keywords: +needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3743 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3743] PY_FORMAT_SIZE_T is not for PyString_FromFormat
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3589] Misleading names for multiprocessing convenience functions
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
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 example (note that without applying the patch from issue 3589, all of the names that are factory functions in the threading API are also factory functions in the multiprocessing API). So perhaps the best course at this stage is to just leave these alone for 2.6/3.0? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3754] minimal cross-compilation support for configure
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 them from GNU automake tarbal. As result of macro new variable $host (host triplet:=cpu-verdor-os) is used to detect so called host system. Since this is basic patch, detection of build system in native builds based on $ac_sys_system and/or $ac_sys_release isn't replaced. This detection isn't appropriate for cross-compilation environment as contain values for build system and has to be replaces in addition by future patches. Also the patch posted in http://bugs.python.org/issue3718 (about environment variable MACHDEP) isn't required for native builds, but will help in case of cross-compilation. -- files: python-trunk-CROSS.patch keywords: patch messages: 72299 nosy: rpetrov severity: normal status: open title: minimal cross-compilation support for configure Added file: http://bugs.python.org/file11337/python-trunk-CROSS.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3754 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3352] Deficiencies in multiprocessing/threading API
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] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3720] segfault in for loop with evil iterator
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 non-iterator of type 'T' Or did you refer to .so extensions modules that are not recompiled between 2.5 and 2.6? (I don't know if this still works) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3720 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3750] test_bsddb3 skipped -- cannot import name test_support
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com