[2.7] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) by serhiy-storchaka · Pull Request #2123 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions Lib/test/test_atexit.py
3 changes: 3 additions & 0 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ Extension Modules
Library
-------

- bpo-28994: The traceback no longer displayed for SystemExit raised in
a callback registered by atexit.

- bpo-30418: On Windows, subprocess.Popen.communicate() now also ignore EINVAL
on stdin.write() if the child process is still running but closed the pipe.

Expand Down
346 changes: 346 additions & 0 deletions Modules/atexitmodule.c