[issue27185] Clarify Test Coverage for the String Module (test_pep292 is not easily discoverable)

2016-06-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is even more complex, since you can't merge a revision with its parent. A. Start at revision A. B. Rename test_string to test_string_merged, giving revision B. A. Update back to revision A. C. Rename test_pep292 to test_string_merged, giving revision C. D

[issue27194] Tarfile superfluous truncate calls slows extraction.

2016-06-02 Thread Jason Fried
Jason Fried added the comment: I ran this on Linux ext4. I didn't see much improvement on OSX with SSD. -- Added file: http://bugs.python.org/file43139/test.py ___ Python tracker __

[issue27195] Crash when RawIOBase.write(b) evaluates b.format

2016-06-02 Thread Martin Panter
New submission from Martin Panter: $ gdb --args ./python -c ' import io class R(io.RawIOBase): def writable(self): return True def write(self, b): print("About to evaluate {!r}.format".format(b)) b.format print("Never reached") b = io.Bu

[issue27184] Support path objects in the ntpath module

2016-06-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please don't change os.path until all other module will be changed. It may be that os.path would not need any change at all. -- ___ Python tracker __

[issue27195] Crash when RawIOBase.write(b) evaluates b.format

2016-06-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson, pitrou, serhiy.storchaka, skrah, stutzbach ___ Python tracker ___ ___ Pytho

[issue27194] Tarfile superfluous truncate calls slows extraction.

2016-06-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue19611] inspect.getcallargs doesn't properly interpret set comprehension code objects.

2016-06-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have no idea what relations Argument Clinic have with this issue. -- ___ Python tracker ___ ___

[issue20408] memoryview() constructor documentation error

2016-06-02 Thread Berker Peksag
Berker Peksag added the comment: I think the safest solution is to change 'obj' to 'object' in memoryview documentation. -- assignee: -> docs@python components: +Documentation -Interpreter Core keywords: +easy nosy: +berker.peksag, docs@python stage: patch review -> needs patch version

[issue25931] os.fork() command distributed in windows Python27 (in SocketServer module)

2016-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3145242bc81f by Gregory P. Smith in branch 'default': Issue25931: fix tests broken by the conditional define of socketserver.Forking* https://hg.python.org/cpython/rev/3145242bc81f -- ___ Python tracker

[issue27185] Clarify Test Coverage for the String Module (test_pep292 is not easily discoverable)

2016-06-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Thu, Jun 2, 2016, at 18:28, Martin Panter wrote: > > Martin Panter added the comment: > > FWIW I doubt Git is any better at this than Mercurial: > > > Git can automatically pic

[issue27192] Keyboard Shortcuts Consistently Cause Crashes

2016-06-02 Thread Ned Deily
Ned Deily added the comment: You are almost certainly seeing a crash due to a critical bug in the Apple-supplied version of Tk 8.5 on OS X systems up through at least OS X 10.11. See here for more information: https://www.python.org/download/mac/tcltk/#apple-8-5-9. The solution is to use a P

[issue25931] os.fork() command distributed in windows Python27 (in SocketServer module)

2016-06-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: It may be worth rolling back the above two commits. I'm not sure. I'd like to see if anything else falls out of this during the beta phases. There is a chance that some library has code similar to that found in test_socketserver.py that defines classes tha

[issue27193] Tkinter Unresponsive With Special Keys

2016-06-02 Thread Ned Deily
Ned Deily added the comment: Tkinter is essentially just a think wrapper around the Tk graphical toolkit. Keyboard modifier mappings are handled by Tk (or OS X), and not Tkinter. Unfortunately, for various reasons, how Tk handles keyboard modifiers varies somewhat among OS platforms (Windows-

[issue27184] Support path objects in the ntpath module

2016-06-02 Thread Eryk Sun
Eryk Sun added the comment: Sorry, I must have missed or misunderstood something. PEP 519 discusses modifying os.path. For the os module it only discusses adding fspath and updating fsencode and fsdecode. It also discusses a new PyOS_FSPath C API, but without any discussion regarding its use i

[issue25931] os.fork() command distributed in windows Python27 (in SocketServer module)

2016-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 015b86646d8e by Gregory P. Smith in branch 'default': issue25931: document that socketserver.Forking* are unavailable on platforms https://hg.python.org/cpython/rev/015b86646d8e -- ___ Python tracker

[issue25931] os.fork() command distributed in windows Python27 (in SocketServer module)

2016-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset a4c0208b10df by Gregory P. Smith in branch '2.7': issue25931: document that socketserver.Forking* are unavailable on platforms https://hg.python.org/cpython/rev/a4c0208b10df -- ___ Python tracker

[issue25747] test_idle failure in leaks searching mode

2016-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: idlever.py is now gone in 3.6. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue25931] os.fork() command distributed in windows Python27 (in SocketServer module)

2016-06-02 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed stage: needs patch -> commit review status: open -> closed ___ Python tracker ___ _

[issue27181] Add geometric mean to `statistics` module

2016-06-02 Thread Ram Rachum
Ram Rachum added the comment: To complicate things further... I implemented a geometric mean on my own, and then I figured out what I really want is a *weighted* geometric mean, so I implemented that for myself. If you'd want to include that, that'll be cool. Actually I'm not sure if the goal

[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

2016-06-02 Thread SilentGhost
Changes by SilentGhost : -- stage: patch review -> commit review versions: -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___

[issue27167] subprocess reports signal as negative exit status, not documented

2016-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset f2d13349ea5d by Gregory P. Smith in branch 'default': Issue #27167: Clarify the subprocess.CalledProcessError error message text https://hg.python.org/cpython/rev/f2d13349ea5d -- nosy: +python-dev ___ Pyt

[issue26885] Add parsing support for more types in xmlrpc

2016-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Table: I believe the format is that the second column describes Pyhton objects that can be marshalled into xml for the rpc. Sometimes a note is added about the 'return' type, which I presume is the Python object unmarshalled from xml. From this standpoint, "

[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

2016-06-02 Thread Robin Roth
Robin Roth added the comment: Based on the review by SilentGhost I removed all refactoring-changes and only left the one line needed for the fix. -- Added file: http://bugs.python.org/file43140/minimal_fix_ismount_directory_not_readable.patch ___ Py

[issue27167] subprocess reports signal as negative exit status, not documented

2016-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1022d09d11e5 by Gregory P. Smith in branch 'default': issue27167: make the test not care about the exact signal name in the https://hg.python.org/cpython/rev/1022d09d11e5 -- ___ Python tracker

[issue27167] subprocess reports signal as negative exit status, not documented

2016-06-02 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue27167] subprocess reports signal as negative exit status, not documented

2016-06-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: So this is mostly done... one oddity which may warrant improvement though: signal numbers have multiple names. ie: SIGABRT is also known as SIGIOT, etc. This is likely to be confusing to if the error message is surfaced to the user as most users only know o

[issue20699] Document that binary IO classes work with bytes-likes objects

2016-06-02 Thread Martin Panter
Martin Panter added the comment: I agree with avoiding the term “bytes-like object” in 2.7. It is easy to be specific when talking about concrete classes like BufferedWriter and BytesIO. But the harder question is what to specify for the abstract base classes. In patch v8, I propose to change

[issue27185] Clarify Test Coverage for the String Module (test_pep292 is not easily discoverable)

2016-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 27f5eb630499 by Serhiy Storchaka in branch '2.7': Issue #27185: Rename test_string.py to test_string_merged.py. https://hg.python.org/cpython/rev/27f5eb630499 New changeset 8218b1309178 by Serhiy Storchaka in branch '2.7': Issue #27185: Rename test_

[issue5150] IDLE to support reindent.py

2016-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Having occasionally forgotten, and had to do whitespace commits, I agree. For Python code, there is never an absolute need for trailing whitespace. Trailing whitespace in string literals can be done by parse time concatenation. '''\ line 1 line 2 ''' 'line wi

[issue27185] Clarify Test Coverage for the String Module (test_pep292 is not easily discoverable)

2016-06-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Merged test_pep292.py into test_string.py with preserving the history in 2.7. This required following steps: hg mv Lib/test/test_string.py Lib/test/test_string_merged.py hg commit hg update -C -r -2 hg mv Lib/test/test_pep292.py Lib/test/test_string_merged.py

[issue8519] doc: termios and ioctl reference links

2016-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset f53a0566a290 by Senthil Kumaran in branch '3.5': issue8519 - Reference termios and ioctl manual pages in the library documentation. https://hg.python.org/cpython/rev/f53a0566a290 New changeset 8db146bec24b by Senthil Kumaran in branch 'default': [m

[issue8519] doc: termios and ioctl reference links

2016-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 55886a6aed4b by Senthil Kumaran in branch '2.7': [backport to 2.7] - issue8519 - Reference termios and ioctl manual pages in the library documentation. https://hg.python.org/cpython/rev/55886a6aed4b -- _

[issue8519] doc: termios and ioctl reference links

2016-06-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks Angad and Anatoly for the patches discussions. Thank you Berker for review. Made the changes in all active versions of python. Let this issue reset in peace. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed __

[issue23670] Modifications to support iOS as a cross-compilation target

2016-06-02 Thread Russell Keith-Magee
Russell Keith-Magee added the comment: Yes - I'm aware of Pythonista; the author of that app contracted me to develop the 3.5 patch that is attached to this ticket :-) -- ___ Python tracker ___

<    1   2   3