New submission from Anthony Baire :
We developed an alternate asyncio TLS transport based on GnuTLS
(https://pypi.org/project/aio-gnutls-transport/). In this project we want to
support half-closed TLS connections (WriteTransport.write_eof()).
Unfortunately StreamReaderProtocol won
Anthony Baire added the comment:
The patch is fine, but it is hard to rely on it to prevent bugs from happening
because that requires cooperation from all modules registering signal handlers.
Anyway it facilitates reusing code that was not written for an event-driven
context (and many will do
Anthony Baire added the comment:
I put a cleaner patch here:
https://codereview.appspot.com/26220043/
--
___
Python tracker
<http://bugs.python.org/issue19
Anthony Baire added the comment:
I confirm the fix.
It is clear that the separation between BaseChildWatcher and its subclasses is
far from ideal. The first implementation was clean, but as the patch evolved
interactions got complex to the point that BaseChildWatcher should not be
considered