Serhiy Storchaka added the comment: The tokenize module, 2to3, IDLE, and the Tools/scripts/findnocoding.py script affected by this bug. Proposed patch fixes this in all places and adds tests for tokenize and 2to3.
---------- components: +Demos and Tools, IDLE, Library (Lib) nosy: +georg.brandl, kbk, loewis, meador.inge, roger.serwy, terry.reedy stage: needs patch -> patch review Added file: http://bugs.python.org/file31645/detect_encoding_in_comments_only.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18873> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com