New submission from Serhiy Storchaka: Proposed patch fixes some bugs in printing exceptions in the threading module.
1. Fixed names of private variables in initialization. This caused unhandled AttributeError. The regression was introduced in changeset e71c3223810f. This part of the patch shouldn't be applied to 2.7. 2. Handled the case when sys.stderr is None. Perhaps this caused a crash when Python program run with pythonw.exe. 3. Added missed test. ---------- components: Library (Lib) files: threading_print_exception.patch keywords: patch messages: 226944 nosy: pitrou, serhiy.storchaka, terry.reedy priority: normal severity: normal stage: patch review status: open title: Errors in printing exceptions raised in a thread type: behavior versions: Python 2.7, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file36629/threading_print_exception.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22423> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com