Nitish <nitishchandrachi...@gmail.com> added the comment:

>> PR 3816 fixes the symptom, but not the core issue -- an overflow check 
>> depending on undefined behaviour.

> I don't understand this check completely actually. When exactly is an int too 
> large to convert?

We see if digits * bits_per_char + PyLong_SHIFT -1 overflows an int?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31619>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to