[issue12625] sporadic test_unittest failure

2011-07-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Note that this kind of test assumes that the Python signal handler is > called right after the signal is delivered, i.e. every time from the > main eval loop (I think that's true with recent Python versions, is > that true with 2.7?). No, it's a feature of th

[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring

2011-07-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: These are not on head revision in cpython and 3.2. Where did you find this bug? Please provide further details along with snippet and/or file. -- nosy: +orsenthil stage: needs patch -> ___ Python tracker

[issue1813] Codec lookup failing under turkish locale

2011-07-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 92d02de91cc9 by Antoine Pitrou in branch '3.2': Issue #1813: Fix codec lookup under Turkish locales. http://hg.python.org/cpython/rev/92d02de91cc9 New changeset a77a4df54b95 by Antoine Pitrou in branch '3.2': Add a test for issue #1813: getlocale()

[issue1813] Codec lookup failing under turkish locale

2011-07-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 739958134fe5 by Antoine Pitrou in branch '2.7': Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales. http://hg.python.org/cpython/rev/739958134fe5 -- ___ Python tracker

[issue1813] Codec lookup failing under turkish locale

2011-07-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Finally fixed in 2.7, 3.2, 3.3! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker _

[issue10044] small int optimization

2011-07-23 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12626] run test cases based on a glob filter

2011-07-23 Thread Ezio Melotti
Ezio Melotti added the comment: See also #12231 for a similar suggestion. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12231] regrtest: add -k and -K options to filter tests by function/file names

2011-07-23 Thread Ezio Melotti
Ezio Melotti added the comment: See also #12626 for a similar suggestion. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12170] index() and count() methods of bytes and bytearray should accept byte ints

2011-07-23 Thread Ezio Melotti
Ezio Melotti added the comment: > When an integer out of range(0, 256) is passed as the first argument, > should we raise a ValueError or a TypeError? ValueError = Inappropriate argument value (of correct type). TypeError = Inappropriate argument type. > Currently, a ValueError raised, but thi

[issue12627] Implement PEP 394: The "python" Command on Unix-Like Systems

2011-07-23 Thread Kerrick Staley
New submission from Kerrick Staley : This issue was opened to track the implementation of PEP 394, which governs the way the python command and commands like python2 and python3 work on Unix-like systems. -- components: Installation messages: 141034 nosy: Kerrick.Staley priority: norma

[issue12627] Implement PEP 394: The "python" Command on Unix-Like Systems

2011-07-23 Thread Kerrick Staley
Kerrick Staley added the comment: Here is a patch that will update the Makefile.pre.in file for 2.7, causing it to install python2 and python2-config when run with "make install" (or just "make bininstall"). This does not update any documentation. Also, it appears that Idle and PyDoc are not

[issue12627] Implement PEP 394: The "python" Command on Unix-Like Systems

2011-07-23 Thread Kerrick Staley
Kerrick Staley added the comment: This updates the links created by "make install" or "make bininstall" in Python 3 so that they're in agreement with the recommendations of PEP 394; it's the equivalent of version27_links.patch but is for Python 3. -- Added file: http://bugs.python.org

[issue12627] Implement PEP 394: The "python" Command on Unix-Like Systems

2011-07-23 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-23 Thread Eli Bendersky
Eli Bendersky added the comment: Terry, What still bugs me is that it isn't clear what change from 3.2 to 3.2.1 caused this problem to manifest. Also, I'm not sure why you mention the sockets vs. pipes issue. -- ___ Python tracker

[issue5441] Convenience API for timeit.main

2011-07-23 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1397474] timeit execution enviroment

2011-07-23 Thread Eli Bendersky
Eli Bendersky added the comment: Terry, I'd like to move this forward. New interfaces or not, making the documentation more comprehensible is an important goal in itself. Could you please comment on rurpy2's latest notes - I will adapt the patch for latest 2.7/3.2/3.3 heads and commit it. --

[issue12043] Update shutil documentation

2011-07-23 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue2091] file accepts 'rU+' as a mode

2011-07-23 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12628] urllib.request.urlopen gives empty response bodies for some sites

2011-07-23 Thread Roy Liu
New submission from Roy Liu : When testing urllib.request.urlopen in Python 3, I found that it gave empty responses for some sites. In other words, reading from the file-like object gives zero bytes. Python 2.x's urllib2.urlopen did not give this behavior. I isolated the problem down to the fo

[issue12628] urllib.request.urlopen gives empty response bodies for some sites

2011-07-23 Thread Ezio Melotti
Ezio Melotti added the comment: Duplicate of #12576. -- nosy: +ezio.melotti resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> urlib.request fails to open some sites ___ Python tracker

<    1   2