Stefan Krah <stefan-usenet at bytereef.org> added the comment: I think this is related to issue #11149. Can you try compiling with -fwrapv? ---------- nosy: +skrah _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue12973> _______________________________________