New submission from anatoly techtonik <techto...@gmail.com>:

Need to document the that os.O_BINARY flag is obligatory for cross-platform 
behavior of os.open() on Windows. By default os.open() opens file as binary on 
Unix, but as text on Windows.


See also issue2028 for discussion of making os.O_BINARY default on py3k. I can 
reopen this issue.

----------
assignee: georg.brandl
components: Documentation, Library (Lib)
messages: 103128
nosy: georg.brandl, techtonik
severity: normal
status: open
title: Document os.open
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3

_______________________________________
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