This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients georg.brandl, techtonik
Date 2010-04-14.13:50:46
SpamBayes Score 0.0048233485
Marked as misclassified No
Message-id <1271253048.59.0.21199323202.issue8399@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-04-14 13:50:48georg.brandlsetrecipients: + georg.brandl, techtonik
2010-04-14 13:50:48georg.brandlsetmessageid: <1271253048.59.0.21199323202.issue8399@psf.upfronthosting.co.za>
2010-04-14 13:50:47georg.brandllinkissue8399 messages
2010-04-14 13:50:46georg.brandlcreate