New submission from Alexander Belopolsky <belopol...@users.sourceforge.net>:

For example:

$ ./python.exe Tools/scripts/untabify.py Modules/_heapqmodule.c
Traceback (most recent call last):
    ...
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe7 in position 173: 
invalid continuation byte


I am not sure what relevant C standard has to say about using non-ascii 
characters in comments, but the checking tool should not fail with a traceback 
in such situation.

----------
components: Demos and Tools
messages: 113849
nosy: belopolsky
priority: normal
severity: normal
status: open
title: untabify.py fails on files that contain non-ascii characters
type: behavior
versions: Python 3.2

_______________________________________
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

Reply via email to