[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed versions: -Python 3.6 ___ Python tracker ___

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +8723 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset b2ff9a9f9298761985aa85aa3f42421ce6effb9e by Miss Islington (bot) in branch '3.7': bpo-34658: Fix rare subprocess prexec_fn fork error. (GH-9255) https://github.com/python/cpython/commit/b2ff9a9f9298761985aa85aa3f42421ce6effb9e --

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8688 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset a20b6adb5a5880fd22c099961eb9f9787739cefe by Miss Islington (bot) (Gregory P. Smith) in branch 'master': bpo-34658: Fix rare subprocess prexec_fn fork error. (GH-9255) https://github.com/python/cpython/commit/a20b6adb5a5880fd22c099961eb9f9787739c

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- components: +Extension Modules ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +8687 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
New submission from Gregory P. Smith : Found in the stdlib test suite while testing the fix for bpo-6721: When subprocess is called with a preexec_fn and os.register_at_fork has been used and the fork() system call fails, the Python error state is set before the "after fork in parent process"

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list