Mark Dickinson <dicki...@gmail.com> added the comment:

This approach to overflow checking needs reworking; the current code, in lines 
like:

    long x = i_result * b;

induces undefined behaviour on overflow. That's something we need to avoid.

----------
nosy: +mark.dickinson

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

Reply via email to