[issue30185] forkserver process should silence KeyboardInterrupt

2017-05-04 Thread STINNER Victor
STINNER Victor added the comment: > There is no forkserver in 2.7. Oh right, it's specific to forkserver, ok ;-) Thank you for the fix. -- ___ Python tracker

[issue30185] forkserver process should silence KeyboardInterrupt

2017-05-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: There is no forkserver in 2.7. -- ___ Python tracker ___ ___

[issue30185] forkserver process should silence KeyboardInterrupt

2017-05-04 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7 isn't affected by this bug? -- ___ Python tracker ___ ___

[issue30185] forkserver process should silence KeyboardInterrupt

2017-05-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue30185] forkserver process should silence KeyboardInterrupt

2017-05-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 7299088ccf5f72b8494063814b58a180b4250aa7 by Antoine Pitrou in branch '3.5': [3.5] bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver (GH-1319) (#1455) https://github.com/python/cpython/commit/7299088ccf5f72b8494063814b58a180b4250aa7

[issue30185] forkserver process should silence KeyboardInterrupt

2017-05-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset a7e48b544becc01dbf9059ed01f38997c6d0156c by Antoine Pitrou in branch '3.6': [3.6] bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver (GH-1319) (#1454) https://github.com/python/cpython/commit/a7e48b544becc01dbf9059ed01f38997c6d0156c

[issue30185] forkserver process should silence KeyboardInterrupt

2017-05-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +1553 ___ Python tracker ___ ___

[issue30185] forkserver process should silence KeyboardInterrupt

2017-05-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +1552 ___ Python tracker ___ ___

[issue30185] forkserver process should silence KeyboardInterrupt

2017-05-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 6dd4d734ed207ba16b017e38f8909de7ef187e29 by Antoine Pitrou in branch 'master': bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver (#1319) https://github.com/python/cpython/commit/6dd4d734ed207ba16b017e38f8909de7ef187e29 --

[issue30185] forkserver process should silence KeyboardInterrupt

2017-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +1426 ___ Python tracker ___ ___

[issue30185] forkserver process should silence KeyboardInterrupt

2017-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I'm not sure that we always want to exit on CTRL-c. That's what the forkserver does right now, it's just that it does it with a traceback that's useless to the user. > Maybe ignore it, but be killed when its master gets a CTRL-c? That's a possibility (the

[issue30185] forkserver process should silence KeyboardInterrupt

2017-04-27 Thread STINNER Victor
STINNER Victor added the comment: > A simpler solution would actually be to catch KeyboardInterrupt inside the > forkserver loop and exit cleanly... I'm not sure that we always want to exit on CTRL-c. But I agree that the forkserver has to handle CTRL-c. Maybe ignore it, but be killed when

[issue30185] forkserver process should silence KeyboardInterrupt

2017-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: A simpler solution would actually be to catch KeyboardInterrupt inside the forkserver loop and exit cleanly... -- ___ Python tracker

[issue30185] forkserver process should silence KeyboardInterrupt

2017-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Uploading small reproducer script. -- Added file: http://bugs.python.org/file46832/forkserversignal.py ___ Python tracker

[issue30185] forkserver process should silence KeyboardInterrupt

2017-04-27 Thread Antoine Pitrou
New submission from Antoine Pitrou: The forkserver intermediate process is an implementation detail. However, if you Ctrl-C the main process, the forkserver process will exit with a KeyboardInterrupt traceback, even if the main process catches KeyboardInterrupt to exit silently. This