Message343745
>>> os.stat('nul')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [WinError 1] Incorrect function: 'nul'
>>> os.stat('con')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [WinError 87] The parameter is incorrect: 'con'
But os.open() and os.fstat() work.
>>> os.fstat(os.open('nul', os.O_RDONLY))
os.stat_result(st_mode=8192, st_ino=0, st_dev=0, st_nlink=0, st_uid=0, st_gid=0, st_size=0, st_atime=0, st_mtime=0, st_ctime=0)
>>> os.fstat(os.open('con', os.O_RDONLY))
os.stat_result(st_mode=8192, st_ino=0, st_dev=0, st_nlink=0, st_uid=0, st_gid=0, st_size=0, st_atime=0, st_mtime=0, st_ctime=0) |
|
| Date |
User |
Action |
Args |
| 2019-05-28 07:37:41 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, paul.moore, tim.golden, zach.ware, steve.dower |
| 2019-05-28 07:37:41 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2019-05-28 07:37:41 | serhiy.storchaka | link | issue37074 messages |
| 2019-05-28 07:37:40 | serhiy.storchaka | create | |
|