[issue2242] Decoding UTF-7 with "ignore warnings" crashes Python on Windows Vista

Antoine Pitrou report at bugs.python.org
Fri Jul 25 14:11:38 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

Selon Hirokazu Yamamoto <report at bugs.python.org>:
>
> With this patch? Yes, it fixed crash.

Thanks!

> # But I don't know whether this behavior is right or not....

As the name implies, utf7 is a 7-bit coding of Unicode... bytes >= 0x80 must
raise an exception. The error message could be better though.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2242>
_______________________________________


More information about the Python-bugs-list mailing list