Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
On Tue, Sep 7, 2010 at 8:08 PM, Éric Araujo <rep...@bugs.python.org> wrote: .. > Why would it be the job of untabify to report invalid non-ASCII characters in > C files? > Since untabify works by loading C code as text, it has to assume some encoding. Failing with uncaught decode error (as it currently does on non UTF-8 source) is not very user friendly. For example, the diagnostic does not report the position of the offending character and does not explain how to fix the source. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9598> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com