STINNER Victor added the comment: Which function raises this exception? Add the traceback place. It may be a bug in your code. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue29758> _______________________________________