STINNER Victor <[EMAIL PROTECTED]> added the comment: Ah! tokenize has already a method detect_encoding(). My new patch uses it to avoid code duplication.
Added file: http://bugs.python.org/file11677/idle_encoding-2.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4008> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com