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

anatoly techtonik report at bugs.python.org
Tue Jul 15 07:21:51 CEST 2008

New submission from anatoly techtonik <techtonik at gmail.com>:

'rU' universal newline support is useless, because read lines end with
'\n' regardless of actual line end in the source file. Applications that
care about line ends still open file in binary mode and gather the stats

So, to make this mode useful - the 'rbU' should be addded. Otherwise it
doesn't worth complication both in C code and in documentation.

components: Library (Lib)
messages: 69673
nosy: techtonik
severity: normal
status: open
title: add 'rbU' mode to open()
versions: Python 2.6, Python 3.0

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list