This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akira
Recipients akira, docs@python
Date 2014-05-05.13:32:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399296732.42.0.791038898639.issue21437@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2014-05-05 13:32:12akirasetrecipients: + akira, docs@python
2014-05-05 13:32:12akirasetmessageid: <1399296732.42.0.791038898639.issue21437@psf.upfronthosting.co.za>
2014-05-05 13:32:12akiralinkissue21437 messages
2014-05-05 13:32:11akiracreate