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 christian.heimes
Recipients alex, asvetlov, bquinlan, christian.heimes, corona10, davin, dstufft, janssen, miss-islington, pitrou, serhiy.storchaka, vstinner, yselivanov
Date 2020-11-21.12:11:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605960704.49.0.201064177025.issue42413@roundup.psfhosted.org>
In-reply-to
Content
PyErr_SetString(PyErr_TimeoutError, "msg") and raise TimeoutError("msg") do not set any additional exception attributes. errno, strerror, filename, and filename2 are None:

>>> try:
...     raise TimeoutError("msg")
... except Exception as e:
...     err = e
... 
>>> err
TimeoutError('msg')
>>> (err.errno, err.filename, err.filename2, err.strerror)
(None, None, None, None)

Is that a problem?
History
Date User Action Args
2020-11-21 12:11:44christian.heimessetrecipients: + christian.heimes, bquinlan, janssen, pitrou, vstinner, alex, asvetlov, serhiy.storchaka, yselivanov, dstufft, davin, corona10, miss-islington
2020-11-21 12:11:44christian.heimessetmessageid: <1605960704.49.0.201064177025.issue42413@roundup.psfhosted.org>
2020-11-21 12:11:44christian.heimeslinkissue42413 messages
2020-11-21 12:11:44christian.heimescreate