[issue19465] selectors: provide a helper to choose a selector using constraints

Guido van Rossum report at bugs.python.org
Thu Oct 31 23:45:54 CET 2013


Guido van Rossum added the comment:

What's the use case for not wanting to use an extra FD?

Nevertheless I'm fine with using a function to pick the default selector (but it requires some changes to asyncio too, which currently uses DefaultSelector).

Something I would find useful would be a way to override the selector choice on the command line.  I currently have to build this into the app's arg parser and main(), e.g. http://code.google.com/p/tulip/source/browse/examples/sink.py#64

----------

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


More information about the Python-bugs-list mailing list