flox <la...@yahoo.fr> added the comment:

Proposed patch following suggestion of And Clover.

Compliant with documentation:
«Files are always opened in binary mode, even if no binary mode was
specified. This is done to avoid data loss due to encodings using 8-bit
values. This means that no automatic conversion of '\n' is done on
reading and writing.»

----------
keywords: +patch
nosy: +flox
Added file: http://bugs.python.org/file15422/issue691291.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue691291>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to