Message362190
Since I provide `OSError` with appropriate `errono`, it raises that error for example:
import os
try:
no = -11
raise OSError(-no, os.strerror(-no))
except BlockingIOError as e:
print('Success:', e)
# Success: [Errno 11] Resource temporarily unavailable
except OSError as e:
print('Failed:', e)
should work the same to raise `TimeoutError` as well |
|
Date |
User |
Action |
Args |
2020-02-18 10:04:36 | YoSTEALTH | set | recipients:
+ YoSTEALTH, eric.smith |
2020-02-18 10:04:36 | YoSTEALTH | set | messageid: <1582020276.7.0.349071052355.issue39673@roundup.psfhosted.org> |
2020-02-18 10:04:36 | YoSTEALTH | link | issue39673 messages |
2020-02-18 10:04:36 | YoSTEALTH | create | |
|