[issue14923] Even faster UTF-8 decoding
Martin v. Löwis
report at bugs.python.org
Sat May 26 12:02:10 CEST 2012
Martin v. Löwis <martin at v.loewis.de> added the comment:
The C standard says, in 6.3.1.3/3
Otherwise [*], the new type is signed and the value cannot be represented in it; either the result is implementation-defined or an implementation-defined signal is raised.
[*]: the value cannot be exactly converted, and the target type is not unsigned.
We shouldn't be using unsigned->signed conversions where the source value is out of range for the signed type.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14923>
_______________________________________
More information about the Python-bugs-list
mailing list