[Python-checkins] bpo-36074: Result of `asyncio.Server.sockets` after `Server.close()` after is not clear (GH-11987)

Miss Islington (bot) webhook-mailer at python.org
Fri Feb 22 12:34:44 EST 2019


https://github.com/python/cpython/commit/df5cdc11123a35065bbf1636251447d0bfe789a5
commit: df5cdc11123a35065bbf1636251447d0bfe789a5
branch: master
author: Emmanuel Arias <emmanuelarias30 at gmail.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2019年02月22日T09:34:41-08:00
summary:
bpo-36074: Result of `asyncio.Server.sockets` after `Server.close()` after is not clear (GH-11987)
[bpo-36074](https://bugs.python.org/issue36074): It becomes clear on that the None is still return for server closed.
https://bugs.python.org/issue36074
files:
M Doc/library/asyncio-eventloop.rst
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index acf9477f723d..8d157fd5f599 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -1394,8 +1394,7 @@ Do not instantiate the class directly.
 
 .. attribute:: sockets
 
- List of :class:`socket.socket` objects the server is listening on,
- or ``None`` if the server is closed.
+ List of :class:`socket.socket` objects the server is listening on.
 
 .. versionchanged:: 3.7
 Prior to Python 3.7 ``Server.sockets`` used to return an


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /