Message354335
| 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. |
|