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

Kristján Valur Jónsson report at bugs.python.org
Thu Mar 22 17:09:43 CET 2012

Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

What's wrong with making functionality overridable, Antoine?  By all means, let's keep the select() but allow subclasses to elect not to use it.

As for the wakeup fd, there isn't such a thing.  Why object on the basis of a hypothetical feature which might be added later?  And should it be added later, it would require changes to SocketServer anyway.  Why not arrange it so that such functionality can be added in an extensible manner?


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list