Author vstinner
Recipients gvanrossum, landersson, vstinner, yselivanov
Date 2014-04-04.16:52:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396630328.17.0.489900460706.issue21119@psf.upfronthosting.co.za>
In-reply-to
Content
BaseEventLoop.create_datagram_endpoint() and _UnixSelectorEventLoop.create_unix_server() have the same bug.

close2.patch fixes these methods but also modify socketpair() to ensure that the 2 sockets are closed on error.

I didn't audit the whole asyncio module.

Note: BaseEventLoop.create_server() uses a different approach: a "completed" flag with a try/finally block.
History
Date User Action Args
2014-04-04 16:52:08vstinnersetrecipients: + vstinner, gvanrossum, yselivanov, landersson
2014-04-04 16:52:08vstinnersetmessageid: <1396630328.17.0.489900460706.issue21119@psf.upfronthosting.co.za>
2014-04-04 16:52:08vstinnerlinkissue21119 messages
2014-04-04 16:52:07vstinnercreate