This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients njs, pitrou, vstinner
Date 2018-07-17.00:16:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Traceback (most recent call last):
  File "<string>", line 39, in <module>

According to the traceback, the captured stderr ('err' variable) is an empty string.

The test uses which replaces sys.stderr.

The signal module calls PySys_WriteStderr(msg) which calls sys.stderr.write(msg). If the Python call fails, msg is supposed to be written into the C stderr stream. sys.stderr.flush() is not called, but it shouldn't be needed, since replace sys.stderr with a io.StringIO object.
Date User Action Args
2018-07-17 00:16:35vstinnersetrecipients: + vstinner, pitrou, njs
2018-07-17 00:16:35vstinnersetmessageid: <>
2018-07-17 00:16:35vstinnerlinkissue34130 messages
2018-07-17 00:16:34vstinnercreate