Message215535
| 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:08 | vstinner | set | recipients:
+ vstinner, gvanrossum, yselivanov, landersson |
| 2014年04月04日 16:52:08 | vstinner | set | messageid: <1396630328.17.0.489900460706.issue21119@psf.upfronthosting.co.za> |
| 2014年04月04日 16:52:08 | vstinner | link | issue21119 messages |
| 2014年04月04日 16:52:07 | vstinner | create |
|