R. David Murray <rdmur...@bitdance.com> added the comment:

It also occurs to me that this fix makes the charset hook look rather odd.  We 
could render it redundant by passing charset to open in the non-openhook case, 
and mark it deprecated.

There is also a bug in the hook_encoding docs.  It says the file is opened with 
codecs.open, but that is not the case, regular open is used.

----------

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

Reply via email to