Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix broken link to MSDN (#102355) | 谭九鼎 | 2023-03-13 | 1 | -1/+1 |
| | |||||
* | gh-100374: Fixed a bug in socket.getfqdn() (gh-100375) | Dominic Socular | 2022-12-21 | 1 | -2/+2 |
| | |||||
* | gh-96320: WASI socket fixes (#96388) | Christian Heimes | 2022-08-30 | 1 | -2/+3 |
| | | | | | | | | * gh-96320: WASI socket fixes - ignore missing functions in ``socket.__repr__`` - bundle network files with assets * blurb | ||||
* | Grammar fix to socket error string (GH-93523) | Evorage | 2022-06-07 | 1 | -1/+1 |
| | |||||
* | Remove the execution bit to some socket-related files. (#93368) | Ezio Melotti | 2022-06-01 | 1 | -0/+0 |
| | |||||
* | Doc: Minor adjustment of `socket.create_server` docs (#26938) | Pavel | 2022-05-20 | 1 | -0/+1 |
| | | | | - fix spelling in create_server() docs - add a line about create_server() in the socket.py docstring | ||||
* | gh-74166: make all_errors keyword-only (GH-91704) | Irit Katriel | 2022-04-19 | 1 | -1/+1 |
| | |||||
* | gh-74166: break cycle by clearing the list instead of dropping its reference ↵ | Irit Katriel | 2022-04-19 | 1 | -1/+1 |
| | | | | (GH-91685) | ||||
* | gh-74166: Add option to get all errors from socket.create_connection (GH-91586) | Irit Katriel | 2022-04-18 | 1 | -9/+15 |
| | |||||
* | bpo-40635: Fix getfqdn() docstring and docs (GH-27971) | andrei kulakov | 2021-08-26 | 1 | -2/+3 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | Fix typos in multiple files (GH-26689) | Binbin | 2021-06-13 | 1 | -1/+1 |
| | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | bpo-43651: PEP 597: Fix `socket.makefile()` (GH-25645) | Inada Naoki | 2021-04-27 | 1 | -0/+1 |
| | |||||
* | bpo-42427: Use the errno attribute of OSError instead of args[0] (GH-23449) | Serhiy Storchaka | 2020-11-22 | 1 | -2/+2 |
| | |||||
* | bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413) | Christian Heimes | 2020-11-20 | 1 | -1/+1 |
| | | | Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | Fix host in address of socket.create_server example. (GH-17706) | Karthikeyan Singaravelan | 2020-01-11 | 1 | -1/+1 |
| | | | Host as None in address raises TypeError since it should be string, bytes or bytearray. | ||||
* | bpo-36820: Break unnecessary cycle in socket.py, codeop.py and dyld.py ↵ | Mario Corchero | 2019-12-06 | 1 | -1/+5 |
| | | | | | | | | | | | | (GH-13135) Break cycle generated when saving an exception in socket.py, codeop.py and dyld.py as they keep alive not only the exception but user objects through the ``__traceback__`` attribute. https://bugs.python.org/issue36820 Automerge-Triggered-By: @pablogsal | ||||
* | bpo-38319: Fix shutil._fastcopy_sendfile(): set sendfile() max block size ↵ | Giampaolo Rodola | 2019-10-01 | 1 | -2/+2 |
| | | | | (GH-16491) | ||||
* | bpo-28724: Add methods send_fds and recv_fds to the socket module (GH-12889) | Joannah Nanjekye | 2019-09-11 | 1 | -0/+36 |
| | | | | | | | The socket module now has the socket.send_fds() and socket.recv.fds() functions. Contributed by Joannah Nanjekye, Shinya Okano (original patch) and Victor Stinner. Co-Authored-By: Victor Stinner <vstinner@redhat.com> | ||||
* | bpo-11953: Extend table of Windows WSA* error codes (GH-15004) | Ngalim Siregar | 2019-09-09 | 1 | -1/+82 |
| | |||||
* | closes bpo-37566: Remove _realsocket from socket.py. (GH-14711) | Hai Shi | 2019-07-12 | 1 | -2/+0 |
| | |||||
* | BPO-17561: set create_server backlog default to None (GH-12735) | Giampaolo Rodola | 2019-04-09 | 1 | -2/+5 |
| | | | | | | | | | It turns out doing socket.listen(0) does not equal to "choose a reasonable default". It actually means "set backlog to 0". As such set backlog=None as the default for socket.create_server. Fixes the following BB failures: https://github.com/python/cpython/pull/11784#issuecomment-481036369 Ref. BPO-1756, GH-11784. | ||||
* | bpo-35934: Add socket.create_server() utility function (GH-11784) | Giampaolo Rodola | 2019-04-08 | 1 | -2/+85 |
| | |||||
* | bpo-33138: Change standard error message for non-pickleable and non-copyable ↵ | Serhiy Storchaka | 2018-10-31 | 1 | -1/+1 |
| | | | | types. (GH-6239) | ||||
* | bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568) | orlnub123 | 2018-09-12 | 1 | -4/+4 |
| | | | | | * Fix enum members getting shadowed by parent attributes * Move Enum._convert to EnumMeta._convert_ * Deprecate _convert | ||||
* | bpo-28134: Auto-detect socket values from file descriptor (#1349) | Christian Heimes | 2018-01-29 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | Fix socket(fileno=fd) by auto-detecting the socket's family, type, and proto from the file descriptor. The auto-detection can be overruled by passing in family, type, and proto explicitly. Without the fix, all socket except for TCP/IP over IPv4 are basically broken: >>> s = socket.create_connection(('www.python.org', 443)) >>> s <socket.socket fd=3, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=6, laddr=('2003:58:bc4a:3b00:56ee:75ff:fe47:ca7b', 59730, 0, 0), raddr=('2a04:4e42:1b::223', 443, 0, 0)> >>> socket.socket(fileno=s.fileno()) <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('2003:58:bc4a:3b00::%2550471192', 59730, 0, 2550471192), raddr=('2a04:4e42:1b:0:700c:e70b:ff7f:0%2550471192', 443, 0, 2550471192)> Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-32331: Fix socket.type when SOCK_NONBLOCK is available (#4877) | Yury Selivanov | 2017-12-19 | 1 | -5/+1 |
| | |||||
* | bpo-31234, socket.create_connection(): Fix ref cycle (#3546) | Victor Stinner | 2017-09-13 | 1 | -0/+2 |
| | |||||
* | Issue #26384: Merge from 3.5 | Berker Peksag | 2016-09-17 | 1 | -1/+1 |
|\ | |||||
| * | Issue #26384: Fix UnboundLocalError in socket._sendfile_use_sendfile | Berker Peksag | 2016-09-17 | 1 | -1/+1 |
| | | |||||
* | | issue28083: add IntFlag constants | Ethan Furman | 2016-09-11 | 1 | -1/+11 |
|/ | |||||
* | Issue #27698: Add socketpair to socket.__all__ on Windows | Victor Stinner | 2016-08-17 | 1 | -0/+1 |
| | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | |||||
* | Issue #16915: Clarify that mode parameter of socket.makefile() does not accept | Berker Peksag | 2016-02-18 | 1 | -3/+3 |
| | | | | the same values as open(). | ||||
* | merge 3.4 (#25471) | Benjamin Peterson | 2015-10-25 | 1 | -1/+5 |
|\ | |||||
| * | accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471) | Benjamin Peterson | 2015-10-25 | 1 | -1/+5 |
| | | |||||
| * | issue23673 | Ethan Furman | 2015-03-19 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method | ||||
* | | issue23673 | Ethan Furman | 2015-03-19 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method | ||||
* | | Issue #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 1 | -2/+0 |
| | | |||||
* | | merge 3.4 (#23221) | Benjamin Peterson | 2015-01-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix instances of consecutive articles (closes #23221) | Benjamin Peterson | 2015-01-13 | 1 | -1/+1 |
| | | | | | | | | Patch by Karan Goel. | ||||
* | | Issue #20604: Added missed invalid mode in error message of socket.makefile(). | Serhiy Storchaka | 2014-11-19 | 1 | -3/+2 |
|\ \ | |/ | | | | | Based on patch by Franck Michea. | ||||
| * | Issue #20604: Added missed invalid mode in error message of socket.makefile(). | Serhiy Storchaka | 2014-11-19 | 1 | -3/+2 |
| | | | | | | | | Based on patch by Franck Michea. | ||||
* | | Issue20689: add missing API pieces to __all__ | Ethan Furman | 2014-10-18 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue20689: add missing API pieces to __all__ | Ethan Furman | 2014-10-18 | 1 | -1/+3 |
| | | |||||
* | | Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants ↵ | Ethan Furman | 2014-10-15 | 1 | -5/+7 |
|\ \ | |/ | | | | | are SocketKind | ||||
| * | Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants ↵ | Ethan Furman | 2014-10-15 | 1 | -5/+7 |
| | | | | | | | | are SocketKind | ||||
* | | Issue #18643: Add socket.socketpair() on Windows. | Charles-François Natali | 2014-10-14 | 1 | -0/+51 |
| | | |||||
* | | Issue #22032: __qualname__ instead of __name__ is now always used to format | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
| | | | | | | | | fully qualified class names of Python implemented classes. | ||||
* | | fix issue #17552: add socket.sendfile() method allowing to send a file over ↵ | Giampaolo Rodola' | 2014-06-11 | 1 | -1/+147 |
|/ | | | | a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'· | ||||
* | Provide a more readable representation of socket on repr(). | Giampaolo Rodola' | 2013-10-03 | 1 | -1/+1 |
| | | | | | | | | Before: <socket.socket fd=3, family=2, type=1, proto=0, laddr=('0.0.0.0', 0)> Now: <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> |