Message209115
Ah, here is os.open() raises an exception. Thank you Mark.
On Linux it raises an exception with file name.
>>> import os; os.open('non-existing', os.O_RDONLY | getattr(os, 'O_BINARY', 0), 0x666)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'non-existing' |
|
Date |
User |
Action |
Args |
2014-01-24 20:05:32 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, tim.golden, benjamin.peterson, stutzbach, brian.curtin, BreamoreBoy, hynek |
2014-01-24 20:05:32 | serhiy.storchaka | set | messageid: <1390593932.04.0.0721391248072.issue20384@psf.upfronthosting.co.za> |
2014-01-24 20:05:32 | serhiy.storchaka | link | issue20384 messages |
2014-01-24 20:05:31 | serhiy.storchaka | create | |
|