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 vringar
Recipients asvetlov, vringar, yselivanov
Date 2022-03-08.10:01:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646733674.64.0.0195337794151.issue46955@roundup.psfhosted.org>
In-reply-to
Content
The asyncio documentation claims that there is a class [asyncio.Server](https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.Server).

However when looking in the sources I can only find [asyncio.base_events.Server](https://github.com/python/cpython/blob/be095f6c32188bba02079d086ac8639ea37cec3c/Lib/asyncio/base_events.py#L274-L384) which does not get exposed via `__all__` and can not be imported as asyncio.Server.
I had to name the type as I wanted to use this class as a type annotation for mypy.
History
Date User Action Args
2022-03-08 10:01:14vringarsetrecipients: + vringar, asvetlov, yselivanov
2022-03-08 10:01:14vringarsetmessageid: <1646733674.64.0.0195337794151.issue46955@roundup.psfhosted.org>
2022-03-08 10:01:14vringarlinkissue46955 messages
2022-03-08 10:01:14vringarcreate