New submission from akira: In Lib/asyncio/proactor_events.py:419 [1]:
def _start_serving(self, protocol_factory, sock, ssl=None, server=None): if ssl: raise ValueError('IocpEventLoop is incompatible with SSL.') [1]: http://hg.python.org/cpython/file/4f26430b03fd/Lib/asyncio/proactor_events.py#l419 ProactorEventLoop is mentioned in the docs that it should be used to run subprocesses on Windows. [2] [2]: http://hg.python.org/cpython/file/4f26430b03fd/Doc/library/asyncio-subprocess.rst It might be a good example to demonstrate the idiomatic way how two different event loops could be used (to support both subprocesses and ssl connections in the same program). ---------- assignee: docs@python components: Documentation messages: 217921 nosy: akira, docs@python priority: normal severity: normal status: open title: document that asyncio.ProactorEventLoop doesn't support SSL type: enhancement versions: Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21437> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com