Message236058
>>> open('foo', 'wb').close()
>>> flags = os.O_RDWR | os.O_CREAT | os.O_EXCL | getattr(os, 'O_NOFOLLOW', 0) | getattr(os, 'O_BINARY', 0)
>>> os.open('foo/bar', flags, 0o600)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'foo/bar'
>>> os.open('nonexistent/bar', flags, 0o600)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent/bar' |
|
Date |
User |
Action |
Args |
2015-02-15 18:44:58 | BreamoreBoy | set | recipients:
+ BreamoreBoy, georg.brandl, ncoghlan, rupole, tim.golden, zach.ware, serhiy.storchaka, steve.dower |
2015-02-15 18:44:58 | BreamoreBoy | set | messageid: <1424025898.83.0.0713691686515.issue22107@psf.upfronthosting.co.za> |
2015-02-15 18:44:58 | BreamoreBoy | link | issue22107 messages |
2015-02-15 18:44:58 | BreamoreBoy | create | |
|