[New-bugs-announce] [issue20029] asyncio.SubprocessProtocol is missing
akira
report at bugs.python.org
Fri Dec 20 07:37:34 CET 2013
New submission from akira:
`SubprocessProtocol` is documented to be accessible as `asyncio.SubprocessProtocol` [1] but it is not included in `asyncio.protocols.__all__` [2] that leads to `AttributeError`:
python3.4 -c "import asyncio; asyncio.SubprocessProtocol"
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'SubprocessProtocol'
The following works as expected:
python3.4 -c "import asyncio; asyncio.protocols.SubprocessProtocol"
No error.
[1]: http://docs.python.org/3.4/library/asyncio-protocol.html#asyncio.SubprocessProtocol
[2]: http://hg.python.org/cpython/file/13a505260f17/Lib/asyncio/protocols.py#l3
----------
components: Library (Lib)
messages: 206665
nosy: akira
priority: normal
severity: normal
status: open
title: asyncio.SubprocessProtocol is missing
type: behavior
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20029>
_______________________________________
More information about the New-bugs-announce
mailing list