[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file27423/79e3fb1838ce.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Christian Heimes
Changes by Christian Heimes : Added file: http://bugs.python.org/file27426/44920b1d9db1.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue16113] Add SHA-3 (Keccak) support

2012-10-04 Thread Christian Heimes
Christian Heimes added the comment: Please review the latest patch. I've included Gregory as he is the creator of hashlib. -- nosy: +gregory.p.smith stage: needs patch -> patch review ___ Python tracker _

[issue16110] Provide logging.config.configParserConfig

2012-10-04 Thread thbach
thbach added the comment: vinay: I understand your preference of dictConfig over fileConfig as maintainer. But as an application developer I want to provide my user an easy way to adjust logging herself. In the end of the day she is the one knowing what has to be logged in which place. Therefo

[issue4821] Patches for thread-support in built-in SHA modules

2012-10-04 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue16105] Pass read only FD to signal.set_wakeup_fd

2012-10-04 Thread Charles-François Natali
Charles-François Natali added the comment: > You mean retry one time or until success? Until success. It should also come with a test. -- ___ Python tracker ___ ___

[issue14574] SocketServer doesn't handle client disconnects properly

2012-10-04 Thread Charles-François Natali
Charles-François Natali added the comment: > Please consider the attached patch and see if it solves the issue. The patch looks OK (although I'd prefer a BSD errno example, such as ECONNRESET, instead of a winsock one). We should also update the documentation that states that in finish() won't

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: Reopen: test_platform is failing. Attached patch should fix the issue. It fixes a theoric "deadlock" issue in _syscmd_file: use proc.communicate() instead of proc.stdout.read(). -- resolution: fixed -> Added file: http://bugs.python.org/file27427/plat

[issue16135] Removal of OS/2 support

2012-10-04 Thread Jesús Cea Avión
New submission from Jesús Cea Avión: According to PEP-11, We have to remove OS/2 support for 3.4. -- messages: 172000 nosy: jcea priority: normal severity: normal status: open title: Removal of OS/2 support versions: Python 3.4 ___ Python tracker

[issue16136] Removal of VMS support

2012-10-04 Thread Jesús Cea Avión
New submission from Jesús Cea Avión: According to PEP-11, we have to remove VMS support. -- messages: 172001 nosy: jcea priority: normal severity: normal status: open title: Removal of VMS support versions: Python 3.4 ___ Python tracker

[issue16136] Removal of VMS support

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: Python on VMS is maybe not completly dead: http://www.vmspython.org/History -- nosy: +haypo ___ Python tracker ___ _

[issue16135] Removal of OS/2 support

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- assignee: -> jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue16135] Removal of OS/2 support

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: I first proposed to drop OS/2 support in 2010. Andrew MacIntyre ported Python 2 to OS/2, he answered me: "The 3.x branch needs quite a bit of work on OS/2 to deal with Unicode, as OS/2 was one of the earlier OSes with full multiple language support and IBM dev

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-04 Thread Viktor Chynarov
New submission from Viktor Chynarov: If a that has a negative tm_hour is passed as an argument to time.asctime(), Python crashes. >>> initial_struct_time = [tm for tm in time.localtime()] >>> initial_struct_time[3] = -1 >>> faulty_time = time.asctime(initial_struct_time) -- components

[issue16135] Removal of OS/2 support

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: See also: http://blog.python.org/2011/05/python-33-to-drop-support-for-os2.html -- ___ Python tracker ___ __

[issue16136] Removal of VMS support

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: See also: http://blog.python.org/2011/05/python-33-to-drop-support-for-os2.html -- ___ Python tracker ___ __

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-04 Thread Viktor Chynarov
Viktor Chynarov added the comment: If an array created from a struct_time that has a negative tm_hour is passed as an argument to time.asctime(), Python crashes. >>> initial_struct_time = [tm for tm in time.localtime()] >>> initial_struct_time[3] = -1 >>> faulty_time = time.asctime(initial_str

[issue16089] _elementtree.TreeBuilder broken with a non-C-deriving element_factory

2012-10-04 Thread Eli Bendersky
Eli Bendersky added the comment: Antoine, Thanks! You said : > the coding style there is quite old It would be great if you could elaborate, however briefly, if there's anything else besides your fixes that is old and should be modernized. I will admit to writing some of that code very recen

[issue16136] Removal of VMS support

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: After the blog post, Mathew, Sandeep from HP asked how to help: http://mail.python.org/pipermail/python-dev/2011-May/111367.html -- ___ Python tracker _

[issue16136] Removal of VMS support

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: Another email from Mathew, Sandeep: http://mail.python.org/pipermail/python-dev/2011-May/111382.html -- ___ Python tracker ___ _

[issue16136] Removal of VMS support

2012-10-04 Thread Trent Nelson
Trent Nelson added the comment: FWIW, I have another Itanium box that I've earmarked for OpenVMS. I don't believe the installation media is readily available for free, though, so I'd need to ping HP to try arrange a copy. -- nosy: +trent ___ Python

[issue16138] In the glossary there is a small typo about __len__() in the sequence definition

2012-10-04 Thread py.user
New submission from py.user: http://docs.python.org/py3k/glossary.html#term-sequence "and defines a len() method that returns the length of the sequence" change to "and defines a __len__() special method that returns the length of the sequence" -- assignee: docs@python components: Do

[issue16089] _elementtree.TreeBuilder broken with a non-C-deriving element_factory

2012-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > the coding style there is quite old > > It would be great if you could elaborate, however briefly, if there's > anything else besides your fixes that is old and should be modernized. > I will admit to writing some of that code very recently, but that's > mos

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2012-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +lemburg, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue16110] Provide logging.config.configParserConfig

2012-10-04 Thread Vinay Sajip
Vinay Sajip added the comment: I could consider relaxing the parameters on fileConfig such that instead of accepting just a string or a file-like object, it additionally accepts a ConfigParser instance. More specifically: def fileConfig(file_or_fname_or_cp, defaults=None): if isinstance(fi

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-04 Thread R. David Murray
R. David Murray added the comment: I can't reproduce this. What version of 2.7? (This might have been fixed by the issue 8013 fix). -- nosy: +r.david.murray ___ Python tracker ___

[issue16110] Provide logging.config.configParserConfig

2012-10-04 Thread Vinay Sajip
Changes by Vinay Sajip : -- resolution: wont fix -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread David Benjamin
David Benjamin added the comment: Well, the theoretical deadlock's just if stdin is also a pipe, right? I think there isn't be a difference between communicate and stdout.read if only stdout is a pipe. Though it might be worth passing DEVNULL to stdin instead of inheriting, just to be tidy. -

[issue16135] Removal of OS/2 support

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset ffc6e6b00949 by Jesus Cea in branch 'default': #16135: Removal of OS/2 support (I) http://hg.python.org/cpython/rev/ffc6e6b00949 -- nosy: +python-dev ___ Python tracker

[issue16089] _elementtree.TreeBuilder broken with a non-C-deriving element_factory

2012-10-04 Thread Eli Bendersky
Eli Bendersky added the comment: Ah, OK. I was actually putting off refactorings in that code to after refactoring the test suite. The latter is in progress, it was paused by my vacation but I do plan to resume it eventually. Once the test suite is sufficiently humane (esp. moves off doctest t

[issue16135] Removal of OS/2 support

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset b08416a31d15 by Jesus Cea in branch 'default': #16135: Removal of OS/2 support (Docs) http://hg.python.org/cpython/rev/b08416a31d15 -- ___ Python tracker _

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: > Well, the theoretical deadlock's just if stdin is also a pipe, right? If I remember correctly, the parent process (Python) and the child process (file) can be blocked if the child is blocked in a blocking write into a pipe (ex: stderr), whereas the pipe buffer

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Victor: your patch doesn't apply on 3.2, but it works for me on 3.3. -- ___ Python tracker ___ ___ P

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Victor is right, communicate() is usually the right way to do it. No need to use unsafe idioms. -- ___ Python tracker ___ _

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: > Victor: your patch doesn't apply on 3.2, but it works for me on 3.3. I wrote it for Python 3.4. I'm too lazy for adapt it to other branches. -- ___ Python tracker __

[issue16135] Removal of OS/2 support

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: Most of the OS/2 specific code in the C part: search PYOS_OS2. -- ___ Python tracker ___ ___ Python-

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread David Benjamin
David Benjamin added the comment: Yes, communicate is needed if you have multiple pipes and need to be careful about both ends doing a blocking reads/writes on different ones. There's only one pipe here. Eh, whatever. If you guys really want to use communicate, I don't really care. --

[issue16135] Removal of OS/2 support

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 29155fa21a41 by Jesus Cea in branch 'default': #16135: Removal of OS/2 support (posixmodule y platform dependent files) http://hg.python.org/cpython/rev/29155fa21a41 -- ___ Python tracker

[issue16135] Removal of OS/2 support

2012-10-04 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Victor, I am removing the support step by step, because I am monitoring the buildbots. Thanks for taking an eye on this. -- ___ Python tracker ___

[issue16139] Python 3.3 fails when starting from read-only FS

2012-10-04 Thread Andrew Gallagher
New submission from Andrew Gallagher: This occurs when python is installed on a read-only mount AND all the .pyc files are out-of-date. Therefore, when python starts and attempts to write a new .pyc file, _write_atomic in "Lib/importlib/_bootstrap.py" throws an OSError with an errno of EROFS,

[issue16105] Pass read only FD to signal.set_wakeup_fd

2012-10-04 Thread Felipe Cruz
Felipe Cruz added the comment: This patch retries write() until success if errno == EINTR. There is also a test. -- Added file: http://bugs.python.org/file27428/issue16105_v3.patch ___ Python tracker __

[issue16139] Python 3.3 fails when starting from read-only FS

2012-10-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brett.cannon type: behavior -> crash versions: +Python 3.4 ___ Python tracker ___ ___ Python-bu

[issue16135] Removal of OS/2 support

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset dea15868963f by Jesus Cea in branch 'default': #16135: Removal of OS/2 support (Modules/*) http://hg.python.org/cpython/rev/dea15868963f -- ___ Python tracker

[issue16139] Python 3.3 fails when starting from read-only FS

2012-10-04 Thread STINNER Victor
STINNER Victor added the comment: Python 3.2 logs an error to stderr (if Python is started in verbose mode) if the directory and/or the pyc file cannot be created, and continue. #ifdef MS_WINDOWS if (_mkdir(cpathname) < 0 && errno != EEXIST) { #else if (mkdir(cpathname, dirmode) < 0 &&

[issue16139] Python 3.3 fails when starting from read-only FS

2012-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm... I guess maybe we should trap all OSErrors after all (and print the error when in verbose mode). -- nosy: +neologix, pitrou ___ Python tracker __

[issue16135] Removal of OS/2 support

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 42c063b3821f by Jesus Cea in branch 'default': #16135: Removal of OS/2 support (C code and Docs) http://hg.python.org/cpython/rev/42c063b3821f -- ___ Python tracker __

[issue16127] Correct mentions of narrow build in documentation and comments

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset a1aa13ef00c5 by Ezio Melotti in branch '3.3': #16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka. http://hg.python.org/cpython/rev/a1aa13ef00c5 New changeset 89ee959a9b54 by Ezio Melotti in branch 'default': #16127: merg

[issue16127] Correct mentions of narrow build in documentation and comments

2012-10-04 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker __

[issue16009] Json error messages could provide more information about the error

2012-10-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16135] Removal of OS/2 support

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset d853354e1470 by Jesus Cea in branch 'default': #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) http://hg.python.org/cpython/rev/d853354e1470 New changeset 15949f34e08f by Jesus Cea in branch 'default': #16135: Removal of OS/2 suppor

[issue16135] Removal of OS/2 support

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ba1f113c3ec by Jesus Cea in branch 'default': Closes #16135: Removal of OS/2 support http://hg.python.org/cpython/rev/9ba1f113c3ec -- resolution: -> fixed stage: -> committed/rejected status: open -> closed __

[issue16135] Removal of OS/2 support

2012-10-04 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I am leaving alone "distutils", "zlib" and "libffi", because I think they are external projects. is that OK?. -- ___ Python tracker ___ __

[issue14446] Remove deprecated tkinter functions

2012-10-04 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I am getting a warning about a statically defined function not being used: Static functions not called inside the module can be safely deleted.

[issue14446] Remove deprecated tkinter functions

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset f4f45d8ff785 by Jesus Cea in branch 'default': Issue #14446: Remove deprecated tkinter functions: Delete an unused function to avoid a warning http://hg.python.org/cpython/rev/f4f45d8ff785 -- ___ Python

[issue14446] Remove deprecated tkinter functions

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset e278f3ab0190 by Jesus Cea in branch 'default': Issue #14446: Remove deprecated tkinter functions: Delete an unused function to avoid a warning http://hg.python.org/cpython/rev/e278f3ab0190 -- ___ Python

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset b94a9ff13199 by Jesus Cea in branch '2.7': #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()' http://hg.python.org/cpython/rev/b94a9ff13199 -- ___ Pyth

[issue16132] ctypes incorrectly encodes .format attribute of memory views

2012-10-04 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 04f39958aea9 by Jesus Cea in branch '3.2': #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()' and decode the bytes http://hg.python.org/cpython/rev/04f39958aea9 New changeset 19d37c8d1882 by Jesus

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9838ae397a19 by Jesus Cea in branch '3.2': #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch http://hg.python.org/cpython/rev/9838ae397a19 New changeset 64a0caf49429 by Jesus Cea in branch '3.3':

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: David, after so many patches, can you confirm that we have solved the original issue? :) -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Why I was not seeing "test_platform.py" failing in the buildbots? :-? -- ___ Python tracker ___ ___

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-04 Thread Kushal Das
Kushal Das added the comment: Can not reproduce this on 2.7.3 on Fedora 17, x86_64. -- nosy: +kushaldas ___ Python tracker ___ ___ Pyt

[issue16139] Python 3.3 fails when starting from read-only FS

2012-10-04 Thread Charles-François Natali
Charles-François Natali added the comment: > Hmm... I guess maybe we should trap all OSErrors after all (and print the > error when in verbose mode). Yes. -- ___ Python tracker ___

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Jesús Cea Avión wrote: > > Jesús Cea Avión added the comment: > > Thanks for the heads-up, Victor. > > I have added Marc-Andre Lemburg to the nosy list, so he can know about this > issue and can provide feedback (or request a backout for 2.7). > > Marc-A

[issue11678] Add support for Arch Linux to platform.linux_distributions()

2012-10-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Éric Araujo wrote: > > Éric Araujo added the comment: > > Feature freeze just came by; sorry we missed this. > > Given our recent-ish discussion about additions to mimetypes (and the > consensus (IIRC) that matching the IANA database can be considered a

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: > The implementation of platform.architecture shells out to the file command. > It tries to escape quotes by replacing " with \", but that's not sufficient. > > $ python3.2 -c 'import platform; platform.architecture("foo\\\"; echo Hi > there > /tmp/Z; echo

[issue16140] subprocess.Popen the os.close calls in _execute_child can raise an EBADF exception

2012-10-04 Thread Gregory P. Smith
New submission from Gregory P. Smith: Ben Leslie writes this on python-dev: Hi all, I have a Python program where I have many threads each calling Popen, and I was hitting some trouble. I've been seeing this on 3.2.3, however I believe the same issue is still potentially a problem on head.

<    1   2