[issue31319] Rename idlelib to just idle

2017-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hi Éric. Adding idle.py would make -m idle work. But I believe it would violate existing policy. So I will not propose it on python-ideas or pydev and hope no one else does either. PEP 434, at least in part, formalized what I believe was older practice with

[issue31320] test_ssl logs a traceback

2017-09-03 Thread Martin Panter
Martin Panter added the comment: Not sure if you just want to hide the presence of the exception and traceback. But regarding the exception itself (OSError with errno 0), this is not ideal. From memory, you tend to get this when the connection is shut down insecurely at the TCP level. A better

[issue31095] Checking all tp_dealloc with Py_TPFLAGS_HAVE_GC

2017-09-03 Thread STINNER Victor
STINNER Victor added the comment: Thank you for fixes Naoki! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-09-03 Thread Guido van Rossum
Guido van Rossum added the comment: Oh well. While it is undoubtedly useful I wish we had had more experience and factored the API differently. Ditto for the maxsize=N feature. So, while it's not too late, perhaps we should indeed follow Antoine's advice and implement a different queue that ha

[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

2017-09-03 Thread Aaron Hall
Aaron Hall added the comment: Serhiy, Not sure what else needs to be done to wrap this up. All checks are passing on the pull request. Thoughts? -- ___ Python tracker ___

[issue31319] Rename idlelib to just idle

2017-09-03 Thread Aaron Hall
Changes by Aaron Hall : -- nosy: +Aaron Hall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue31333] Implement ABCMeta in C

2017-09-03 Thread Aaron Hall
Changes by Aaron Hall : -- nosy: +Aaron Hall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue12383] subprocess.Popen(..., env={}) fails to pass empty env.

2017-09-03 Thread Ned Deily
Ned Deily added the comment: New changeset 918edc0edb356d0561062c1dc267b1d68a684b70 by Ned Deily in branch 'master': bpo-12383: Also ignore __PYVENV_LAUNCHER__ (#3278) https://github.com/python/cpython/commit/918edc0edb356d0561062c1dc267b1d68a684b70 -- ___

[issue31095] Checking all tp_dealloc with Py_TPFLAGS_HAVE_GC

2017-09-03 Thread INADA Naoki
INADA Naoki added the comment: New changeset 4cde4bdcc86cb08ee3847500a172cc24eba37ffe by INADA Naoki in branch '2.7': bpo-31095: Fix potential crash during GC (GH-3197) https://github.com/python/cpython/commit/4cde4bdcc86cb08ee3847500a172cc24eba37ffe -- __

[issue31095] Checking all tp_dealloc with Py_TPFLAGS_HAVE_GC

2017-09-03 Thread INADA Naoki
INADA Naoki added the comment: New changeset 2eea952b1b9ebbc2d94fd3faca1536c6b4963725 by INADA Naoki in branch '3.6': bpo-31095: fix potential crash during GC (GH-3195) https://github.com/python/cpython/commit/2eea952b1b9ebbc2d94fd3faca1536c6b4963725 -- __

[issue12383] subprocess.Popen(..., env={}) fails to pass empty env.

2017-09-03 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +3321 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-09-03 Thread Riccardo Coccioli
Changes by Riccardo Coccioli : -- pull_requests: +3320 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-09-03 Thread Riccardo Coccioli
New submission from Riccardo Coccioli: According to the Python documentation for the 'poll.poll([timeout])' method in the 'select' module, any negative value for the 'timeout' parameter is valid and should have the same behaviour [1]: "If timeout is omitted, negative, or None, the call will

[issue29212] Python 3.6 logging thread name regression with concurrent.future threads

2017-09-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 7d8282d25d4900dd3367daf28bb393be7f276729 by Gregory P. Smith in branch '3.6': [3.6] bpo-29212: Fix the ugly repr() ThreadPoolExecutor thread name. (GH-2315) (#3276) https://github.com/python/cpython/commit/7d8282d25d4900dd3367daf28bb393be7f2767

[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"

2017-09-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 31b8efeaa893e95358b71eb2b8365552d3966b4a by Gregory P. Smith in branch '3.6': [3.6] bpo-9146: Raise a ValueError if OpenSSL fails to init a hash func (#3274) https://github.com/python/cpython/commit/31b8efeaa893e95358b71eb2b8365552d3966b4a ---

[issue29212] Python 3.6 logging thread name regression with concurrent.future threads

2017-09-03 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- pull_requests: +3319 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"

2017-09-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 4f013881cb0ca7d29620ddb0594dde09bc5d24ca by Gregory P. Smith in branch 'master': bpo-9146: add the missing NEWS entry. (#3275) https://github.com/python/cpython/commit/4f013881cb0ca7d29620ddb0594dde09bc5d24ca -- __

[issue31333] Implement ABCMeta in C

2017-09-03 Thread Ivan Levkivskyi
Changes by Ivan Levkivskyi : -- nosy: +brett.cannon, haypo, serhiy.storchaka, yselivanov ___ Python tracker ___ ___ Python-bugs-list m

[issue31333] Implement ABCMeta in C

2017-09-03 Thread Ivan Levkivskyi
New submission from Ivan Levkivskyi: The idea is that creating ABCs is approximately twice slower than normal classes. Plus there are smaller penalties for various operations with ABCs. This mostly influences the Python interpreter start-up time (because of extensive use of ABCs in importlib),

[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"

2017-09-03 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- pull_requests: +3318 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue27144] concurrent.futures.as_completed() memory inefficiency

2017-09-03 Thread STINNER Victor
STINNER Victor added the comment: Thank you both for this nice enhancement. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"

2017-09-03 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- pull_requests: +3317 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31330] argparse.RawTextHelpFormatter does not maintain lines separated by more than one newline

2017-09-03 Thread Elena Oat
Changes by Elena Oat : -- pull_requests: +3316 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21818] cookielib documentation references Cookie module, not cookielib.Cookie class

2017-09-03 Thread Cheryl Sabella
Cheryl Sabella added the comment: Can this issue be closed? -- nosy: +csabella ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue31332] Building modules by Clang with Microsoft CodeGen

2017-09-03 Thread Tatsunori Uchino
Tatsunori Uchino added the comment: Incorrect: May someone tell use how to use. | V Correct: May someone tell us how to use. -- ___ Python tracker ___ _

[issue31332] Building modules by Clang with Microsoft CodeGen

2017-09-03 Thread Tatsunori Uchino
Tatsunori Uchino added the comment: I cannot use it from the command line. May someone tell use how to use. PS C:\> cd 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ClangC2\bin\amd64' PS C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ClangC2\bin\amd64> ./clang.exe D:\tmp\tes

[issue31301] Python 2.7 SIGSEGV

2017-09-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue31301] Python 2.7 SIGSEGV

2017-09-03 Thread Jakub Wilk
Jakub Wilk added the comment: Thanks, I can reproduce the crashes with Python 2.7.9. The first commit that fixes them is 5d7d26c403d86e9525820d872eb3e331dbc31750, so I believe this is duplicate of issue25388. -- ___ Python tracker

[issue31307] ConfigParser.read silently fails if filenames argument is a byte string

2017-09-03 Thread David Ellis
David Ellis added the comment: This is related to the issue I'd brought up previously here so closing this would also close that issue: http://bugs.python.org/issue29627 I did originally attempt to add support for bytes in PR where I added support for Path-like objects: https://github.com/pyt

[issue27144] concurrent.futures.as_completed() memory inefficiency

2017-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: The regression should be fixed now. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue27144] concurrent.futures.as_completed() memory inefficiency

2017-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 5cbca0235b8da07c9454bcaa94f12d59c2df0ad2 by Antoine Pitrou in branch '3.6': [3.6] Fix a c.f.as_completed() refleak previously introduced in bpo-27144 (GH-3270) (#3271) https://github.com/python/cpython/commit/5cbca0235b8da07c9454bcaa94f12d59c2df0

[issue27144] concurrent.futures.as_completed() memory inefficiency

2017-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +3315 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27144] concurrent.futures.as_completed() memory inefficiency

2017-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 2ef37607b7aacb7c750d008b9113fe11f96163c0 by Antoine Pitrou in branch 'master': Fix a c.f.as_completed() refleak previously introduced in bpo-27144 (#3270) https://github.com/python/cpython/commit/2ef37607b7aacb7c750d008b9113fe11f96163c0

[issue31332] Building modules by Clang with Microsoft CodeGen

2017-09-03 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: You will have to also create a new compiler class for the compiler. If this is more or less the same clang as used on Unix and MacOS, chances are high, the UnixCCompiler class already supports most of it. Only some changes related to paths may be necessary

[issue27144] concurrent.futures.as_completed() memory inefficiency

2017-09-03 Thread Grzegorz Grzywacz
Grzegorz Grzywacz added the comment: Tests are reusing finished futures. `_yield_and_decref` function do not clear waiters in finished futures. In the initial merge i propose to clear waiters but after review we decide it should be removed. I am confused now, should we change tests or restore

[issue27144] concurrent.futures.as_completed() memory inefficiency

2017-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +3314 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27144] concurrent.futures.as_completed() memory inefficiency

2017-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Victor. There is indeed a logic error in the new code. I'm opening a new PR. -- ___ Python tracker ___

[issue31301] Python 2.7 SIGSEGV

2017-09-03 Thread Cody Sixteen
Cody Sixteen added the comment: c@debian:~/tools/afl/afl-2.50b/out_python/crashes$ ls -la total 160 drwx-- 2 c c 4096 Aug 31 00:23 . drwx-- 5 c c 4096 Sep 3 09:04 .. -rw--- 1 c c 29352 Aug 28 16:14 id:00,sig:11,src:00,op:havoc,rep:32 -rw--- 1 c c 62917 Aug 28 17:08 id:0