Roundup Robot added the comment:
New changeset dd2c7cca5980 by Victor Stinner in branch '3.4':
Issue #21006: asyncio doc: reorganize subprocess doc
http://hg.python.org/cpython/rev/dd2c7cca5980
New changeset c45b124e9af4 by Victor Stinner in branch 'default':
(Merge 3.4) Issue #21006: asyncio
STINNER Victor added the comment:
I reorganized the doc. Thanks for the report.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21006
___
New submission from Alexandre JABORSKA:
The documentation example (getstatusoutput) does not work on windows because it
use the default loop (based on select). The whole asyncio.ProactorEventLoop
stuff is not really explained anywhere. Maybe a How to use asyncio on Windows
could be useful.
Roundup Robot added the comment:
New changeset 7cca663a72eb by Victor Stinner in branch 'default':
Issue #21006: Fix subprocess example on Windows in asyncio doc
http://hg.python.org/cpython/rev/7cca663a72eb
--
nosy: +python-dev
___
Python tracker
STINNER Victor added the comment:
Oh, the limit parameter StreamReader is not documented! Here is a patch to
document it.
--
nosy: +gvanrossum, haypo, yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21006
Changes by STINNER Victor victor.stin...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file34544/streamreader_limit.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21006
STINNER Victor added the comment:
The whole asyncio.ProactorEventLoop stuff is not really explained
anywhere. Maybe a How to use asyncio on Windows could be useful.
It is explained in the subprocess methods of the event loop.
Well, I expected this reaction: the subprocess documentation is
Alexandre JABORSKA added the comment:
I saw the low level part with the warning. But what I mean is that I found no
clear indication on how to change default loop to allow asyncio.subprocess
usage with Windows Python. I guessed :
asyncio.set_event_loop(ProactorEventLoop())
but I'm not sure
Roundup Robot added the comment:
New changeset ab0aa412fca2 by Victor Stinner in branch '3.4':
Issue #21006: Fix subprocess example on Windows in asyncio doc
http://hg.python.org/cpython/rev/ab0aa412fca2
--
___
Python tracker rep...@bugs.python.org