Georg Brandl <ge...@python.org> added the comment:

Since there is no distinction between text and binary mode on Unix, you 
shouldn't claim the behavior is not consistent - you get text mode.  You need 
O_BINARY on Windows to get binary mode.  O_BINARY is already documented; I've 
added a better link to it from the description of os.open() in r80069.

Do not reopen #2028, it was not about os.open() anyway.  For os.open(),
as it is only a wrapper for the OS's own POSIX layer, the flags argument
shouldn't be touched.

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8399>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to