[issue12973] int_pow() implementation is incorrect

Stefan Krah report at bugs.python.org
Thu Sep 15 20:08:04 CEST 2011


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

With issue12975.diff, listobject_overflow.diff and itertools_overflow.diff
I don't get any more failures.


Also, of course issue12975.diff looks correct to me if we assume:

http://mail.python.org/pipermail/python-dev/2009-December/094392.html
http://yarchive.net/comp/linux/signed_unsigned_casts.html


Mark, did you write those rules down somewhere? I had to think
a bit about the unsigned -> signed casts.

----------

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


More information about the Python-bugs-list mailing list