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 cfy
Recipients cfy, yselivanov
Date 2017-07-23.09:30:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500802208.0.0.551974338989.issue30996@psf.upfronthosting.co.za>
In-reply-to
Content
I suppose asyncio lack async version of sock_close that can call loop.remove_reader and others before close socket and perhaps lack something like coroutine AbstractEventLoop.sock_make_blocking that can do some deregister job.

switch constant in the script:
* change CALL_REMOVE_READING_BEFORE_CLOSE to True will make script running smoothly
* change USE_UVLOOP to True will make script use uvloop
History
Date User Action Args
2017-07-23 09:30:08cfysetrecipients: + cfy, yselivanov
2017-07-23 09:30:08cfysetmessageid: <1500802208.0.0.551974338989.issue30996@psf.upfronthosting.co.za>
2017-07-23 09:30:07cfylinkissue30996 messages
2017-07-23 09:30:07cfycreate