STINNER Victor <victor.stinner at haypocalc.com> added the comment: Thanks for the fix, I added an unit test. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue12383> _______________________________________