[issue13663] pootle.python.org is outdated.

2011-12-26 Thread INADA Naoki
New submission from INADA Naoki : I am one of Japanese translate of Python documents. We have done translating Python 2.7 document and will start translating Python 3.2 or 3.3. I want to use sphinx-i18n and pootle to translate. But http://pootle.python.org/ is very outdated. Anyone can update th

[issue13508] ctypes' find_library breaks with ARM ABIs

2011-12-26 Thread Stefano Rivera
Changes by Stefano Rivera : -- nosy: +stefanor ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12760] Add create mode to open()

2011-12-26 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: C11 uses 'x' for this, for what it's worth. This is not a "duplicate issue". The openat solution is no easier than the os.open solution. -- nosy: +Devin Jeanpierre ___ Python tracker

[issue13508] ctypes' find_library breaks with ARM ABIs

2011-12-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-12-26 Thread Michael P. Reilly
Michael P. Reilly added the comment: Here is a patch to socketserver.py which can be applied to 2.6, 2.7 and 3.2. The fix is for BaseServer, ForkingMixIn and ThreadingMixIn. All three now correctly respond to the shutdown method. I have no way of testing Windows or MacOSX (based on docs, M

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-12-26 Thread Michael P. Reilly
Michael P. Reilly added the comment: An update test program. Execute with appropriate PYTHONPATH (to dir to patched module and explicit interpreter executable: PYTHONPATH=$PWD/2.7/b/Lib python2.7 $PWD/simpletest.py -- Added file: http://bugs.python.org/file24094/simpletest.py __

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2011-12-26 Thread Jason R. Coombs
New submission from Jason R. Coombs : While investigating #11638, I encountered another encoding issue related to tarballs. Consider this command: python -c "import gzip; gzip.GzipFile(u'\xe5rchive', 'w', fileobj=open(u'\xe5rchive', 'wb'))" When run, it triggers the following traceback: Trac

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2011-12-26 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue11638] python setup.py sdist --formats tar* crashes if version is unicode

2011-12-26 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've captured the cause of the UnicodeEncodeErrors as #13664. After rebasing the changes to include the fix for #13639, I found that the tests were still failing until I also reverted the patch to call tarfile.open with 'w:gz'. Now all the new tests pass (wi

[issue11638] python setup.py sdist --formats tar* crashes if version is unicode

2011-12-26 Thread Jason R. Coombs
Changes by Jason R. Coombs : Added file: http://bugs.python.org/file24095/dc1045d08bd8.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset dc1045d08bd8 by Jason R. Coombs in branch '2.7': Issue #11638: Adding test to ensure .tar.gz files can be generated by sdist command with unicode metadata, based on David Barnett's patch. http://hg.python.org/cpython/rev/dc1045d08bd8 -- _

[issue11638] python setup.py sdist --formats tar* crashes if version is unicode

2011-12-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset dc1045d08bd8 by Jason R. Coombs in branch '2.7': Issue #11638: Adding test to ensure .tar.gz files can be generated by sdist command with unicode metadata, based on David Barnett's patch. http://hg.python.org/cpython/rev/dc1045d08bd8 -- no

[issue11638] python setup.py sdist --formats tar* crashes if version is unicode

2011-12-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset f0fcb82a88e9 by Jason R. Coombs in branch 'default': Ported some test cases from 2.7 for #11638 http://hg.python.org/cpython/rev/f0fcb82a88e9 -- ___ Python tracker __

[issue11638] python setup.py sdist --formats tar* crashes if version is unicode

2011-12-26 Thread Jason R. Coombs
Jason R. Coombs added the comment: Since the tests now pass, and the only changes were to the tests, I've pushed them to the master. And with that I'm marking this ticket as closed. -- status: open -> closed ___ Python tracker

[issue13665] TypeError: string or integer address expected instead of str instance

2011-12-26 Thread Jason R. Coombs
New submission from Jason R. Coombs : When constructing a ctypes.c_char_p with a unicode string, a confusing error message is reported: > python -c "import ctypes; ctypes.c_char_p('foo')" Traceback (most recent call last): File "", line 1, in TypeError: string or integer address expected ins

[issue13666] datetime documentation typos

2011-12-26 Thread Stephen Kelly
New submission from Stephen Kelly : There are several bugs on http://docs.python.org/library/datetime.html Section 8.1.6 references the method rzinfo.dst(), which does not exist. Presumably this should be tzinfo.dst(). Section 8.1.4 contains an implementation of a GMT2 timezone. There seems