消息 [113848]
Note directly related to this issue, but untabify.py fails on files that contain non-ascii characters. 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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2010-08-13 22:56:32 | belopolsky | 修改 | recipients:
+ belopolsky, brett.cannon, mark.dickinson, pitrou, eric.araujo, dmalcolm |
| 2010-08-13 22:56:32 | belopolsky | 修改 | messageid: <1281740192.19.0.0770427429809.issue8912@psf.upfronthosting.co.za> |
| 2010-08-13 22:56:30 | belopolsky | 链接 | issue8912 messages |
| 2010-08-13 22:56:29 | belopolsky | 创建 | |
|