[issue46955] The documentation mentions asyncio.Server. It does not exist.

2022-03-08 Thread Andrew Svetlov


Change by Andrew Svetlov :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46955] The documentation mentions asyncio.Server. It does not exist.

2022-03-08 Thread miss-islington


miss-islington  added the comment:


New changeset 8de434b332ed92ba2db90de6ed0969aee23735c2 by Miss Islington (bot) 
in branch '3.10':
bpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31760)
https://github.com/python/cpython/commit/8de434b332ed92ba2db90de6ed0969aee23735c2


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46955] The documentation mentions asyncio.Server. It does not exist.

2022-03-08 Thread miss-islington


miss-islington  added the comment:


New changeset 20e88f78a39ff56235c1d42ba4b947f5fa8e67b7 by Miss Islington (bot) 
in branch '3.9':
bpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31760)
https://github.com/python/cpython/commit/20e88f78a39ff56235c1d42ba4b947f5fa8e67b7


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46955] The documentation mentions asyncio.Server. It does not exist.

2022-03-08 Thread miss-islington


Change by miss-islington :


--
pull_requests: +29881
pull_request: https://github.com/python/cpython/pull/31774

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46955] The documentation mentions asyncio.Server. It does not exist.

2022-03-08 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +29880
pull_request: https://github.com/python/cpython/pull/31773

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46955] The documentation mentions asyncio.Server. It does not exist.

2022-03-08 Thread Andrew Svetlov


Andrew Svetlov  added the comment:


New changeset da80d6b2f3beff519cb1457d5e055168c89f7224 by Stefan Zabka in 
branch 'main':
bpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31760)
https://github.com/python/cpython/commit/da80d6b2f3beff519cb1457d5e055168c89f7224


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46955] The documentation mentions asyncio.Server. It does not exist.

2022-03-08 Thread Andrew Svetlov


Change by Andrew Svetlov :


--
versions: +Python 3.11, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46955] The documentation mentions asyncio.Server. It does not exist.

2022-03-08 Thread Stefan Zabka


Change by Stefan Zabka :


--
keywords: +patch
pull_requests: +29872
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/31760

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46955] The documentation mentions asyncio.Server. It does not exist.

2022-03-08 Thread Stefan Zabka


New submission from Stefan Zabka :

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.

--
components: asyncio
messages: 414741
nosy: asvetlov, vringar, yselivanov
priority: normal
severity: normal
status: open
title: The documentation mentions asyncio.Server. It does not exist.
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com