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 giampaolo.rodola, kristjan.jonsson, martin.panter, pitrou, vstinner
Date 2019-10-10.08:18:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570695510.36.0.69983319105.issue14307@roundup.psfhosted.org>
In-reply-to
Content
Antoine Pitrou: "...  I'm against this change ..."

Martin Panter: "... But this seems unreasonable to me. ..."

I close the issue. You can use asyncio for non-blocking networking code. Or have a look at Twisted, Tornado, eventlet, etc.

If you really want to hack socketserver, I suggest you to copy the whole socketserver.py file. But asynchronous programming is a hard problem which requires more than modiying a single function. Slowly, you will built something similar the the project that I cited.
History
Date User Action Args
2019-10-10 08:18:30vstinnersetrecipients: + vstinner, pitrou, kristjan.jonsson, giampaolo.rodola, martin.panter
2019-10-10 08:18:30vstinnersetmessageid: <1570695510.36.0.69983319105.issue14307@roundup.psfhosted.org>
2019-10-10 08:18:30vstinnerlinkissue14307 messages
2019-10-10 08:18:30vstinnercreate