STINNER Victor <victor.stin...@haypocalc.com> added the comment:

Ok, forget my pyfile_writeobject_nosignal.patch, it's not the right approach.

New patch: mywrite() uses its own implementation PyFile_WriteString(), 
sys_pyfile_write(), which doesn't call PyErr_CheckSignals():


/* Implementation of PyFile_WriteString() no calling PyErr_CheckSignals():
 * mywrite() should not execute any Python signal handler to avoid raising an
 * error because mywrite() ignores all errors */

----------
Added file: http://bugs.python.org/file17045/mywrite_nosignal.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8124>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to