Charles-François Natali added the comment:

> since Antonie mentioned Py_AddPendingCall I came up with a patch describing 
> what he proposed.
>
> Let me know if this patch can be improved or discarded(if the problem 
> requires a more sophisticated solution). In case of improvement I can also 
> submit another patch with a test case.

Why limit to EBADF? You could also have EPIPE, EINVAL and many other errors.
The only error you may not want to report is EAGAIN.

----------

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

Reply via email to