[issue22518] integer overflow in encoding unicode

Serhiy Storchaka report at bugs.python.org
Tue Sep 30 15:30:17 CEST 2014


Serhiy Storchaka added the comment:

> I'm not sure that this change is correct. Why not raising an exception on
> overflow?

This is correct. This check prevents overflow.

----------

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


More information about the Python-bugs-list mailing list