R. David Murray <[email protected]> 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 <[email protected]> <http://bugs.python.org/issue5758> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
