[New-bugs-announce] [issue39673] TimeoutError
YoSTEALTH
report at bugs.python.org
Tue Feb 18 04:51:59 EST 2020
New submission from YoSTEALTH <ritesh at stealthcentral.com>:
import os
try:
no = -62
raise OSError(-no, os.strerror(-no))
except TimeoutError:
print('Success')
except OSError as e:
print('Failed:', e)
# Failed: [Errno 62] Timer expired
Shouldn't `TimeoutError` catch this error?
----------
messages: 362187
nosy: YoSTEALTH
priority: normal
severity: normal
status: open
title: TimeoutError
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39673>
_______________________________________
More information about the New-bugs-announce
mailing list