Message299156
I'm not sure that it's a good idea to compare asyncore and asyncio. While their name are similar, their design are *very* different. I'm only talking about the kernel, the core event loop checking for file descriptors.
In asyncio, when you close a transport, the transport is not *closed* immediately. It is scheduled to be closed as soon as possible: usually in the next loop iteration, but it can longer to complex transports like subprocesses or TLS connections.
Thanks to this design, asyncio doesn't have the race condition described in this issue. |
|
Date |
User |
Action |
Args |
2017-07-25 22:42:04 | vstinner | set | recipients:
+ vstinner, giampaolo.rodola, Nir Soffer, walkhour |
2017-07-25 22:42:04 | vstinner | set | messageid: <1501022524.68.0.582786681671.issue30931@psf.upfronthosting.co.za> |
2017-07-25 22:42:04 | vstinner | link | issue30931 messages |
2017-07-25 22:42:04 | vstinner | create | |
|