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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20029>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to