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
Date 2013-12-20.06:37:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387521454.41.0.193901809521.issue20029@psf.upfronthosting.co.za>
In-reply-to
Content
`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
History
Date User Action Args
2013-12-20 06:37:34akirasetrecipients: + akira
2013-12-20 06:37:34akirasetmessageid: <1387521454.41.0.193901809521.issue20029@psf.upfronthosting.co.za>
2013-12-20 06:37:34akiralinkissue20029 messages
2013-12-20 06:37:33akiracreate