Message236055
> Is there a difference if you do open(..., 'w')? It's a different enough operation that it may have a different error.
Oh, yes, I forgot the 'w' mode.
Mark, could you please run following test on Windows?
import os
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) # what raised?
os.open('nonexistent/bar', flags, 0o600) # what raised? |
|
Date |
User |
Action |
Args |
2015-02-15 18:03:14 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, ncoghlan, rupole, tim.golden, BreamoreBoy, zach.ware, steve.dower |
2015-02-15 18:03:14 | serhiy.storchaka | set | messageid: <1424023394.09.0.125931708066.issue22107@psf.upfronthosting.co.za> |
2015-02-15 18:03:14 | serhiy.storchaka | link | issue22107 messages |
2015-02-15 18:03:14 | serhiy.storchaka | create | |
|