[issue44705] Support Windows file open modes for `open` built-in function

2021-07-22 Thread Eryk Sun
Eryk Sun added the comment: Currently you can use os.open() if you need platform-specific open flags such as Windows O_RANDOM, O_SEQUENTIAL, O_SHORT_LIVED, and O_TEMPORARY. The file descriptor can be passed to builtin open() to get a file object that owns the fd. It might be more

[issue44705] Support Windows file open modes for `open` built-in function

2021-07-21 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44705] Support Windows file open modes for `open` built-in function

2021-07-21 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue44705] Support Windows file open modes for `open` built-in function

2021-07-21 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +methane ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44705] Support Windows file open modes for `open` built-in function

2021-07-21 Thread Luke Deller
New submission from Luke Deller : Microsoft Windows supports some extra file open modes including: "S"Specifies that caching is optimized for, but not restricted to, sequential access from disk. "T"Specifies a file as temporary. If possible, it is not flushed to disk. "D"