Benjamin Peterson <benja...@python.org> added the comment:

The reason for this is that file_module tries to detect the encoding of the 
file to set the encoding for the opened file. IMO, it should just return a file 
in binary mode.

----------
nosy: +benjamin.peterson, haypo

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

Reply via email to