[issue14307] Make subclassing SocketServer simpler for non-blocking frameworks

Martin Panter report at bugs.python.org
Tue Feb 9 23:48:13 EST 2016


Martin Panter added the comment:

FTR the python-dev discussion looks like it is <https://marc.info/?l=python-dev&m=133169928819705&w=2>. The argument for this change seems to be to support users monkey-patching the socket module, but not monkey-patching the select module. But this seems unreasonable to me.

I also agree the would make it harder to fix the wakeup polling problem. I suggest to reject this change.

Also, if you want a method to be overridable in subclasses, I don’t think it should have an underscore prefix.

----------
components: +Library (Lib)
stage:  -> patch review

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14307>
_______________________________________


More information about the Python-bugs-list mailing list