[issue3359] add 'rbU' mode to open()

Georg Brandl report at bugs.python.org
Wed Jul 16 03:39:11 CEST 2008

Georg Brandl <georg at python.org> added the comment:

> If you open file with 'r' - all line endings will be mapped precisely to
> '\n' anyways, so it has nothing to do with 'U' mode.

No they won't -- only the platform-specific newline will. On Unix, 'r'
and 'rb' are the same.

nosy: +georg.brandl

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list