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

@Pablo: Thanks; I saw the PR.

It looks as though the troublesome line

   long x = i_result * b;

is still there in that PR, though. Or am I misreading? The difficulty here is 
that the check for overflow has to happen as a means of preventing invoking 
undefined behaviour; it doesn't really work to invoke the undefined behaviour 
first and then check to see what went wrong.

----------

_______________________________________
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