Message362187
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? |
|
Date |
User |
Action |
Args |
2020-02-18 09:51:59 | YoSTEALTH | set | recipients:
+ YoSTEALTH |
2020-02-18 09:51:59 | YoSTEALTH | set | messageid: <1582019519.42.0.474248510986.issue39673@roundup.psfhosted.org> |
2020-02-18 09:51:59 | YoSTEALTH | link | issue39673 messages |
2020-02-18 09:51:59 | YoSTEALTH | create | |
|