[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2017-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: On windows, s=input() is cleanly interrupted by ^-C, leaving s unbound, before and after the patch. time.sleep(1) is not interrupted, before and after the patch. Ditto for the socket test. Louie, what test are you using on *nix? It still appears that for

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-06-28 Thread Jeroen Demeyer
Changes by Jeroen Demeyer : -- nosy: +jdemeyer ___ Python tracker ___ ___

[issue30730] [security] Injecting environment variable in subprocess on Windows

2017-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Isn't "Type: security" enough? If you want you could patch Roundup for highlighting security issues. -- ___ Python tracker

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 12536bd261ba95cd2748f3d7d47768742a6ffa7a by Victor Stinner (Antoine Pitrou) in branch '2.7': [2.7] Clear potential ref cycle between Process and Process target (GH-2470) (#2473)

[issue30422] Add roadmap.txt section to idlelib

2017-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Replace 'Relevant History' with the following; Python and IDLE development policies: * Dependence on tcl/tk: Except when security is involved, Python is slow to require upgrade of 3rd party dependencies. IDLE is mostly bound by this. In July 2010, core

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset a9705b777859f555d50eb5dcd5fc4260c42a0188 by Antoine Pitrou in branch '3.5': [3.5] Clear potential ref cycle between Process and Process target (GH-2470) (#2472) https://github.com/python/cpython/commit/a9705b777859f555d50eb5dcd5fc4260c42a0188

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 38d6a40898940d2c62c637fcc8acce05e75de5c2 by Antoine Pitrou in branch '3.6': [3.6] Clear potential ref cycle between Process and Process target (GH-2470) (#2471) https://github.com/python/cpython/commit/38d6a40898940d2c62c637fcc8acce05e75de5c2

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2528 ___ Python tracker ___ ___

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2527 ___ Python tracker ___ ___

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2526 ___ Python tracker ___ ___

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 79d37ae979a65ada0b2ac820279ccc3b1cd41ba6 by Victor Stinner (Antoine Pitrou) in branch 'master': Clear potential ref cycle between Process and Process target (#2470) https://github.com/python/cpython/commit/79d37ae979a65ada0b2ac820279ccc3b1cd41ba6

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2525 ___ Python tracker ___ ___

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset f15bf1f3f3104f6ab2229e4b359984489a74685b by Victor Stinner (Antoine Pitrou) in branch '3.5': [3.5] bpo-30775: Fix refleaks in test_multiprocessing (GH-2467) (#2469) https://github.com/python/cpython/commit/f15bf1f3f3104f6ab2229e4b359984489a74685b

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset e022aad73a4151b5628e2476a8465ce6c0d18b8c by Antoine Pitrou in branch '3.6': [3.6] bpo-30775: Fix refleaks in test_multiprocessing (GH-2467) (#2468) https://github.com/python/cpython/commit/e022aad73a4151b5628e2476a8465ce6c0d18b8c --

[issue30429] bdb and pdb: Add watchpoint function

2017-06-28 Thread Xavier de Gaye
Xavier de Gaye added the comment: See the related issue 5654. -- ___ Python tracker ___ ___ Python-bugs-list

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: -> commit review status: open -> pending ___ Python tracker ___

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2523 ___ Python tracker ___ ___

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2524 ___ Python tracker ___ ___

[issue30790] Can't use proxy to connect internet on windows

2017-06-28 Thread Wu Zongyong
Changes by Wu Zongyong : -- pull_requests: +2522 ___ Python tracker ___ ___

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread STINNER Victor
STINNER Victor added the comment: Hey, thank you Antoine for fixing the last known reference leak! -- ___ Python tracker ___

[issue13617] Reject embedded null characters in wchar* strings

2017-06-28 Thread STINNER Victor
STINNER Victor added the comment: Thank you very much Serhiy of taking care of this bug! -- ___ Python tracker ___

[issue30730] [security] Injecting environment variable in subprocess on Windows

2017-06-28 Thread STINNER Victor
Changes by STINNER Victor : -- title: Injecting environment variable in subprocess on Windows -> [security] Injecting environment variable in subprocess on Windows ___ Python tracker

[issue30790] Can't use proxy to connect internet on windows

2017-06-28 Thread Wu Zongyong
Changes by Wu Zongyong : -- components: Library (Lib) nosy: Cordius priority: normal severity: normal status: open title: Can't use proxy to connect internet on windows type: behavior versions: Python 3.6 ___ Python tracker

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset a79f8faccf5e26f55e8b9496ad49d2071b5e299c by Victor Stinner (Antoine Pitrou) in branch 'master': bpo-30775: Fix refleaks in test_multiprocessing (#2467) https://github.com/python/cpython/commit/a79f8faccf5e26f55e8b9496ad49d2071b5e299c --

[issue30775] test_multiprocessing_forkserver leaks references on Python 3

2017-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2521 ___ Python tracker ___ ___

[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2017-06-28 Thread Louie Lu
Changes by Louie Lu : -- assignee: -> terry.reedy components: +IDLE -Library (Lib) title: time.sleep ignores _thread.interrupt_main() -> IDLE: in shell, time.sleep ignores _thread.interrupt_main() ___ Python tracker

[issue29926] time.sleep ignores _thread.interrupt_main()

2017-06-28 Thread Louie Lu
Louie Lu added the comment: Based on Martin's patch, I slightly changed the logic for the patch. So, I add a `finish` flag to detect the code in Executive.runcode is done or not. `interrupt_the_server` will first SIGINT via interrupt_main, if this doesn't work after 0.2 seconds, it will then

[issue29926] time.sleep ignores _thread.interrupt_main()

2017-06-28 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +2520 ___ Python tracker ___ ___ Python-bugs-list

[issue13617] Reject embedded null characters in wchar* strings

2017-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Backporting this to 2.7 requires too much work taking to account that PyArg_Parse and other argument parsing functions don't check for null characters in 2.7. The most serious security issue is fixed in issue30730, other cases unlikely can be used for

[issue13617] Reject embedded null characters in wchar* strings

2017-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 54ba940abc2fabb94fede46dfad80f8ac15632a3 by Serhiy Storchaka in branch '3.5': [3.5] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2463)

[issue19325] _osx_support imports many modules

2017-06-28 Thread INADA Naoki
INADA Naoki added the comment: FYI, issue29585 removes _osx_support dependency from site.py -- nosy: +inada.naoki ___ Python tracker ___

[issue30462] urllib does not support NO_PROXY environment variable containing domain with asterisk

2017-06-28 Thread Jiri Hnidek
Jiri Hnidek added the comment: Hi, good point about *foo.com. It seems this is not valid DNS RR according following RFC: https://tools.ietf.org/html/rfc4592 Especially this section is more focused on allowed combinations of asterisks and other characters:

[issue13617] Reject embedded null characters in wchar* strings

2017-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ccdc09ed1ebea7d7c6b41548132aa08bd797bfe8 by Serhiy Storchaka in branch 'master': Fix compiler warnings on Windows introduced in bpo-13617. (#2464) https://github.com/python/cpython/commit/ccdc09ed1ebea7d7c6b41548132aa08bd797bfe8 --

[issue29926] time.sleep ignores _thread.interrupt_main()

2017-06-28 Thread Louie Lu
Louie Lu added the comment: Other operation which will block the process will do the same as time.sleep(), too. >>> import socket >>> s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) >>> s.bind(('', 25000)) >>> s.recv(100) IDLE will ignore this control-c, too.

[issue13617] Reject embedded null characters in wchar* strings

2017-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0834905d9b61291b1fc5e05a1ffbc69de9c9379f by Serhiy Storchaka in branch '3.6': [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462)

[issue13617] Reject embedded null characters in wchar* strings

2017-06-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2519 ___ Python tracker ___ ___

<    1   2