[Python-checkins] cpython (merge 3.4 -> default): Issue20689: add missing API pieces to __all__
ethan.furman
python-checkins at python.org
Sun Oct 19 00:11:22 CEST 2014
https://hg.python.org/cpython/rev/7266562c2bb3
changeset: 93132:7266562c2bb3
parent: 93130:4e1e68069480
parent: 93131:f8a8ddf0b070
user: Ethan Furman <ethan at stoneleaf.us>
date: Sat Oct 18 15:11:03 2014 -0700
summary:
Issue20689: add missing API pieces to __all__
files:
Lib/socket.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/socket.py b/Lib/socket.py
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -60,7 +60,8 @@
EAGAIN = getattr(errno, 'EAGAIN', 11)
EWOULDBLOCK = getattr(errno, 'EWOULDBLOCK', 11)
-__all__ = ["getfqdn", "create_connection"]
+__all__ = ["fromfd", "getfqdn", "create_connection",
+ "AddressFamily", "SocketKind"]
__all__.extend(os._get_exports_list(_socket))
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
@@ -454,6 +455,7 @@
socket.share(pid).
"""
return socket(0, 0, 0, info)
+ __all__.append("fromshare")
if hasattr(_socket, "socketpair"):
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list