STINNER Victor <victor.stinner at haypocalc.com> added the comment: Oh, you can also try something else: add the volatile keyword. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue13874> _______________________________________