STINNER Victor <victor.stinner at haypocalc.com> added the comment: (I tried your code on Linux and no exception is raised) _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue4171> _______________________________________