消息 [115830]
On Tue, Sep 7, 2010 at 8:08 PM, Éric Araujo <report@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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2010-09-08 00:29:53 | belopolsky | 修改 | recipients:
+ belopolsky, pitrou, eric.araujo, flox, Claudiu.Popa |
| 2010-09-08 00:29:52 | belopolsky | 链接 | issue9598 messages |
| 2010-09-08 00:29:51 | belopolsky | 创建 | |
|