[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:


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>

More information about the Python-bugs-list mailing list