This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gvanrossum, python-dev, vstinner, yselivanov
Date 2015-01-15.13:36:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421329017.02.0.67237385116.issue23242@psf.upfronthosting.co.za>
In-reply-to
Content
> I'm not sure that it's the most efficient way to close the transport. It may be better to close the transport in the connection_lost() method of the protocol.

"process_exited", not "connection_lost".

I implemented this option which is simpler and more efficient (always and immediatly close the transport).

Clearing the reference to the transport in the Process is less important, it can be done later in a different issue/changeset. I close this issue.
History
Date User Action Args
2015-01-15 13:36:57vstinnersetrecipients: + vstinner, gvanrossum, python-dev, yselivanov
2015-01-15 13:36:57vstinnersetmessageid: <1421329017.02.0.67237385116.issue23242@psf.upfronthosting.co.za>
2015-01-15 13:36:56vstinnerlinkissue23242 messages
2015-01-15 13:36:56vstinnercreate