summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
Commit message (Collapse)AuthorAgeFilesLines
* gh-106909: Use role :const: for referencing module constants (GH-106910)Serhiy Storchaka2023-07-211-1/+1
|
* gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267)Nikita Sobolev2023-06-061-1/+1
|
* gh-104882: Docs: fix description of relationship between ↵Joe Geisbauer2023-06-041-1/+1
| | | | `socket.getblocking()` and `socket.gettimeout()` (#105026)
* gh-89415: Mention new `IP_*` constants in `socket` module in the docs (#105266)Nikita Sobolev2023-06-031-1/+2
|
* gh-96534: socketmodule: support FreeBSD divert(4) socket (#96536)Gleb Smirnoff2023-05-041-0/+11
|
* GH-97950: Use new-style index directive ('object') (#104158)Adam Turner2023-05-041-1/+1
| | | | | | | | | | | * Uncomment object removal in pairindextypes * Use new-style index directive ('object') - C API * Use new-style index directive ('object') - Library * Use new-style index directive ('object') - Reference * Use new-style index directive ('object') - Tutorial
* GH-97950: Use new-style index directive ('module') (#103996)Adam Turner2023-05-041-1/+1
| | | | | | | | | | | | | | | | | * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference * Use new-style index directive ('module') - Tutorial * Uncomment module removal in pairindextypes * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference
* Improve some grammar in the socket docs (#103254)Tim Burke2023-04-041-4/+4
|
* GH-100813: Add `socket.IP_PKTINFO` constant (#10294)dsentinel2023-01-091-0/+1
|
* gh-96773 Fix documentation of socket backlog (#96778)Mehrdad Moradizadeh2023-01-011-2/+2
|
* gh-98030: socket: add missing TCP socket options (#98031)Matthieu Baerts2022-12-081-1/+8
| | | | | | | | | | | | | A few TCP socket options have been added to the Linux kernel these last few years. This commit adds all the ones available in Linux 6.0: https://elixir.bootlin.com/linux/v6.0/source/include/uapi/linux/tcp.h#L91 While at it, the TCP_FASTOPEN option has been moved lower in the list just to keep the same order as in tcp.h to ease future synchronisations. Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
* gh-95389: expose popular ETHERTYPE_* constants in the socket module (#95390)Noam Cohen2022-11-071-2/+34
| | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* Docs: Fix backtick errors found by sphinx-lint (#97998)Hugo van Kemenade2022-10-071-1/+1
| | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-93738: Documentation C syntax (:c:type:<C type> -> :c:expr:<C type>) (#97768)Adam Turner2022-10-051-1/+1
| | | | | :c:type:`<C type>` -> :c:expr:`<C type>` Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-93738: Documentation C syntax (Use `c:struct`) (#97772)Adam Turner2022-10-041-6/+6
| | | Use `c:struct`
* gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS ↵Serhiy Storchaka2022-08-041-1/+1
| | | | | | | | | | (GH-95527) If an HTTP link is redirected to a same looking HTTPS link, the latter can be used directly without changes in readability and behavior. It protects from a men-in-the-middle attack. This change does not affect Python examples.
* gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452)Christian Heimes2022-08-021-9/+46
| | | | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Michael Droettboom <mdboom@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-95415: Make availability directive consistent (GH-95416)Christian Heimes2022-07-291-12/+32
|
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Ned Batchelder2022-07-051-2/+2
| | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
* gh-93675: Fix typos in `Doc/` (GH-93676)luzpaz2022-06-211-1/+1
| | | Closes #93675
* gh-94068: Remove HVSOCKET_CONTAINER_PASSTHRU constant because it has been ↵Steve Dower2022-06-211-1/+0
| | | | | | | removed from Windows (GH-94069) Fixes #94068 Automerge-Triggered-By: GH:zware
* gh-93183: Adjust wording in socket docs (#93832)Erlend Egeberg Aasland2022-06-151-2/+2
| | | | | package => packet Co-authored-by: Victor Norman
* Remove the execution bit to some socket-related files. (#93368)Ezio Melotti2022-06-011-0/+0
|
* gh-92658: Add Hyper-V socket support (GH-92755)Jordan Borean2022-05-241-0/+43
|
* Doc: Minor adjustment of `socket.create_server` docs (#26938)Pavel2022-05-201-1/+1
| | | | - fix spelling in create_server() docs - add a line about create_server() in the socket.py docstring
* gh-92417: `socket` docs: remove references to Python <3.3 (GH-92544)Alex Waygood2022-05-191-2/+2
|
* gh-91968: Add socket constants SO_USER_COOKIE/SO_RTABLE from BSD (#91967)David CARLIER2022-05-081-0/+5
| | | | | Those are somewhat equivalent to Linux' SO_MARK. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-46696: Add socket.SO_INCOMING_CPU constant (#31237)David CARLIER2022-05-031-0/+9
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-91498: socket: Add TCP_CONNECTION_INFO on macOS (#69256)David CARLIER2022-04-271-0/+4
| | | Fixes GH-91498
* gh-74166: make all_errors keyword-only (GH-91704)Irit Katriel2022-04-191-1/+1
|
* gh-74166: Add option to get all errors from socket.create_connection (GH-91586)Irit Katriel2022-04-181-1/+10
|
* bpo-46030: socket module add couple of FreeBSD constants. (GH-30018)David CARLIER2022-03-171-0/+15
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-30512: Add CAN Socket support for NetBSD (GH-30066)Thomas Klausner2022-01-211-1/+4
|
* bpo-45772: socket.socket should be a class instead of a function (GH-23960)Hong Xu2021-11-131-1/+1
| | | | | | | | * bpo-45772: socket.socket should be a class instead of a function Currently `socket.socket` is documented as a function, but it is really a class (and thus has function-like usage to construct an object). This correction would ensure that Python projects that are interlinking Python's documentation can properly locate `socket.socket` as a type.
* bpo-41983: add availability info to socket docs (GH-27519)andrei kulakov2021-10-211-0/+4
| | | | | * add availability info to AF_PACKET section * add availability for AF_QIPCRTR as well
* [doc] Fix gethostbyname_ex description (GH-28700)Andre Delfino2021-10-051-2/+2
| | | It seems part of `gethostbyname_ex` doc was copied from `gethostbyaddr`. The latter has an `ip_address` parameter whereas the former doesn't.
* bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515)Serhiy Storchaka2021-09-221-1/+1
| | | | | | | Replace old names when they refer to actual versions of macOS. Keep historical names in references to older versions. Co-authored-by: Patrick Reader <_@pxeger.com>
* bpo-40635: Fix getfqdn() docstring and docs (GH-27971)andrei kulakov2021-08-261-2/+3
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)Mariusz Felisiak2021-07-261-5/+5
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-34932: Add socket.TCP_KEEPALIVE for macOS (GH-25079)Shane Harvey2021-07-141-0/+2
|
* bpo-44077: Expose IP_RECVTOS in the socket module (GH-25992)Georg Sauthoff2021-06-201-0/+3
| | | Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-43750: Fix incorrect reference to PACKET_MULTIHOST in the docs (GH-25241)Zackery Spytz2021-05-291-1/+1
| | | It should be PACKET_MULTICAST, not PACKET_MULTIHOST.
* bpo-28724: Doc: Move socket.send_fds and socket.recv_fds docs to right ↵Saiyang Gou2021-04-221-23/+26
| | | | section (GH-22608)
* bpo-40066: Enum: modify `repr()` and `str()` (GH-22392)Ethan Furman2021-03-311-2/+2
| | | | | | | | | * Enum: streamline repr() and str(); improve docs - repr() is now ``enum_class.member_name`` - stdlib global enums are ``module_name.member_name`` - str() is now ``member_name`` - add HOW-TO section for ``Enum`` - change main documentation to be an API reference
* bpo-43571: Add IPPROTO_MPTCP macro (GH-24946)Rui Cunha2021-03-201-0/+3
| | | Add IPPROTO_MPTCP constant when defined in the system headers.
* bpo-42393: Raise OverflowError iso. DeprecationWarning on overflow in ↵Erlend Egeberg Aasland2020-12-311-10/+6
| | | | socket.ntohs and socket.htons (GH-23980)
* [doc] Fix a few margins due to bad markup (GH-23619)Andre Delfino2020-12-171-5/+5
|
* bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413)Christian Heimes2020-11-201-1/+6
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-40901: Describe what "interface name" means on Windows (GH-20694)Jakub Stasiak2020-10-191-0/+19
|
* bpo-40204: Add :noindex: in the documentation (GH-21859)Victor Stinner2020-08-131-0/+2
| | | | | | | | | | Add :noindex: to duplicated documentation to fix "duplicate object description" errors. For example, fix this Sphinx 3 issue: Doc/library/configparser.rst:1146: WARNING: duplicate object description of configparser.ConfigParser.optionxform, other instance in library/configparser, use :noindex: for one of them