28 Jun
2011
28 Jun
'11
12:52 p.m.
M.-A. Lemburg <mal@egenix.com> wrote:
How about a more radical change: have open() in Py3 default to opening the file in binary mode, if no encoding is given (even if the mode doesn't include 'b') ?
+1.
That'll make it compatible to the Py2 world again and avoid all the encoding guessing.
Yep. Bill