STINNER Victor <victor.stinner at haypocalc.com> added the comment: Another solution: disable call to PyErr_CheckSignals() in mywrite(). ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue8124> _______________________________________