summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
Commit message (Collapse)AuthorAgeFilesLines
* #16666: document default values for socket.getaddrinfo in the text to ↵Ezio Melotti2012-12-251-6/+6
| | | | clarify that it doesn't accept keyword args.
* Issue #16341: convert examples to use except ... as ... syntax.Andrew Svetlov2012-10-301-4/+4
|
* #15831: document multiple signatures on different lines. Patch by Chris ↵Ezio Melotti2012-09-141-1/+2
| | | | Jerdonek.
* Issue #15060: better fix, thanks to review on #python-devSandro Tosi2012-06-131-1/+1
|
* Issue #15060: fix typo in socket doc; Patch by anatoly techtonikSandro Tosi2012-06-131-1/+1
|
* Mark up constants in socket doc as suchÉric Araujo2012-02-261-7/+7
|
* Fix Issue #6005: Examples in the socket library documentation use sendall,Senthil Kumaran2012-02-091-6/+7
| | | | where relevant, instead send method. Patch contributed by Brian Brazil.
* update to new C roles and directivesSandro Tosi2012-01-141-13/+13
|
* Issue #13724: improve documentation for socket.create_connection.Antoine Pitrou2012-01-121-4/+11
|
* #12781: Mention SO_REUSEADDR flag near socket examplesSandro Tosi2011-09-021-0/+19
|
* #12725: fix working. Patch by Ben Hayden.Ezio Melotti2011-08-141-3/+3
|
* Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-101-2/+2
| | | | order to accept exactly one connection. Patch by Daniel Evers.
* Merged revisions ↵Georg Brandl2011-02-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87050,87101,87146,87156,87172,87175,87371,87378,87522-87524,87526,87530-87535 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line Fix typo. ........ r87101 | georg.brandl | 2010-12-06 23:02:48 +0100 (Mo, 06 Dez 2010) | 1 line Remove visible XXX comments. ........ r87146 | georg.brandl | 2010-12-09 19:08:43 +0100 (Do, 09 Dez 2010) | 1 line Fix "seperate". ........ r87156 | georg.brandl | 2010-12-10 11:01:44 +0100 (Fr, 10 Dez 2010) | 1 line #10668: fix wrong call of __init__. ........ r87172 | georg.brandl | 2010-12-11 20:10:30 +0100 (Sa, 11 Dez 2010) | 1 line Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed. ........ r87175 | georg.brandl | 2010-12-11 23:19:34 +0100 (Sa, 11 Dez 2010) | 1 line Fix markup. ........ r87371 | georg.brandl | 2010-12-18 17:21:58 +0100 (Sa, 18 Dez 2010) | 1 line Fix typo. ........ r87378 | georg.brandl | 2010-12-18 18:51:28 +0100 (Sa, 18 Dez 2010) | 1 line #10723: add missing builtin exceptions. ........ r87522 | georg.brandl | 2010-12-28 10:16:12 +0100 (Di, 28 Dez 2010) | 1 line Replace sys.maxint mention by sys.maxsize. ........ r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial. ........ r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line Fix advice: call PyType_Ready to fill in ob_type of custom types. ........ r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line #10777: fix iteration over dict keys while mutating the dict. ........ r87530 | georg.brandl | 2010-12-28 12:06:07 +0100 (Di, 28 Dez 2010) | 1 line #10767: update README in crashers; not all may have a bug entry and/or be fixed. ........ r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line #10742: document readonly attribute of memoryviews. ........ r87532 | georg.brandl | 2010-12-28 12:15:49 +0100 (Di, 28 Dez 2010) | 1 line #10781: clarify that *encoding* is not a parameter for Node objects in general. ........ r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line Remove history; adapt a bit more to reST, since this will once be part of the dev guide. ........ r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line Rewrap. ........ r87535 | georg.brandl | 2010-12-28 12:49:41 +0100 (Di, 28 Dez 2010) | 1 line #10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected. ........
* Merged revisions 87653-87655 via svnmerge fromAntoine Pitrou2011-01-021-0/+9
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87653 | antoine.pitrou | 2011-01-02 23:06:53 +0100 (dim., 02 janv. 2011) | 3 lines Clarify behaviour of close() and shutdown() on sockets. ........ r87654 | antoine.pitrou | 2011-01-02 23:09:27 +0100 (dim., 02 janv. 2011) | 3 lines Add a shutdown() call in the server example. ........ r87655 | antoine.pitrou | 2011-01-02 23:12:22 +0100 (dim., 02 janv. 2011) | 3 lines Some nits. ........
* Merged revisions ↵Georg Brandl2010-10-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82798,82805,83659,83977,84015,84018,84141,84264,84326-84327,84480,84482,84484,84530-84531,84553,84619,84915-84916 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82798 | georg.brandl | 2010-07-11 11:23:11 +0200 (So, 11 Jul 2010) | 1 line #6774: explain shutdown() behavior varying with platform. ........ r82805 | georg.brandl | 2010-07-11 11:42:10 +0200 (So, 11 Jul 2010) | 1 line #7935: cross-reference to ast.literal_eval() from eval() docs. ........ r83659 | georg.brandl | 2010-08-03 14:06:29 +0200 (Di, 03 Aug 2010) | 1 line Terminology fix: exceptions are raised, except in generator.throw(). ........ r83977 | georg.brandl | 2010-08-13 17:10:49 +0200 (Fr, 13 Aug 2010) | 1 line Fix copy-paste error. ........ r84015 | georg.brandl | 2010-08-14 17:44:34 +0200 (Sa, 14 Aug 2010) | 1 line Add some maintainers. ........ r84018 | georg.brandl | 2010-08-14 17:48:49 +0200 (Sa, 14 Aug 2010) | 1 line Typo fix. ........ r84141 | georg.brandl | 2010-08-17 16:11:59 +0200 (Di, 17 Aug 2010) | 1 line Markup nits. ........ r84264 | georg.brandl | 2010-08-22 22:23:38 +0200 (So, 22 Aug 2010) | 1 line #9649: fix default value description. ........ r84326 | georg.brandl | 2010-08-26 16:30:15 +0200 (Do, 26 Aug 2010) | 1 line #9689: add links from overview to in-depth class API descriptions. ........ r84327 | georg.brandl | 2010-08-26 16:30:56 +0200 (Do, 26 Aug 2010) | 1 line #9681: typo. ........ r84480 | georg.brandl | 2010-09-04 00:33:27 +0200 (Sa, 04 Sep 2010) | 1 line More inclusive title. ........ r84482 | georg.brandl | 2010-09-04 00:40:02 +0200 (Sa, 04 Sep 2010) | 1 line #9760: clarify what context expression is. ........ r84484 | georg.brandl | 2010-09-04 00:49:27 +0200 (Sa, 04 Sep 2010) | 1 line Fix missing word. ........ r84530 | georg.brandl | 2010-09-05 19:07:12 +0200 (So, 05 Sep 2010) | 1 line #9747: fix copy-paste error in getresgid() doc. ........ r84531 | georg.brandl | 2010-09-05 19:09:18 +0200 (So, 05 Sep 2010) | 1 line #9776: fix some spacing. ........ r84553 | georg.brandl | 2010-09-06 08:49:07 +0200 (Mo, 06 Sep 2010) | 1 line #9780: both { and } are not valid fill characters. ........ r84619 | georg.brandl | 2010-09-08 12:43:45 +0200 (Mi, 08 Sep 2010) | 1 line Add Lukasz. ........ r84915 | georg.brandl | 2010-09-20 08:27:02 +0200 (Mo, 20 Sep 2010) | 1 line Fix typo. ........ r84916 | georg.brandl | 2010-09-20 08:29:01 +0200 (Mo, 20 Sep 2010) | 1 line Mention % as string formatting. ........
* Fix gratuitous indentation.Georg Brandl2010-06-121-12/+12
|
* Improve documentation for getaddrinfo() (part of #8857)Antoine Pitrou2010-05-311-15/+33
|
* Fix typoAndrew M. Kuchling2010-05-101-1/+1
|
* Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric.Georg Brandl2010-04-251-1/+1
|
* Patch from Tim Hatch: Better cross-referencing in socket and winreg docs.Georg Brandl2010-04-251-21/+24
|
* #8320: document return value of recv_into().Georg Brandl2010-04-061-4/+4
|
* issue3972: HTTPConnection and HTTPSConnection now support aGregory P. Smith2010-01-031-3/+4
| | | | | | source_address parameter. Also cleans up an annotation in the socket documentation.
* Adds an optional source_address parameter to socket.create_connection().Gregory P. Smith2010-01-031-1/+7
| | | | For use by issue3972.
* #7388: "python".capitalize() in the DocEzio Melotti2009-12-191-1/+1
|
* #6591: add reference to ioctl in fcntl module for platforms other than Windows.Georg Brandl2009-07-291-0/+3
|
* Remove last remnants of the ipaddr package.Amaury Forgeot d'Arc2009-06-231-5/+0
| | | | The changes in mcast.py come from the first version of the patch for issue5379.
* #6175: document that inet_aton supports alternate input formats with less ↵Georg Brandl2009-06-041-0/+3
| | | | than three dots.
* #5916, 5917: small socket doc improvements.Georg Brandl2009-05-041-2/+7
|
* Clarify socket timeout behavior vs system network stack behavior on connectGregory P. Smith2009-02-181-4/+7
| | | | for issue5293.
* Remove tabs from the documentation.Georg Brandl2009-01-031-16/+17
|
* Remove trailing whitespace.Georg Brandl2009-01-031-13/+13
|
* clarify by splitting into multiple paragraphsBenjamin Peterson2008-11-031-5/+9
|
* Improve wordingAndrew M. Kuchling2008-09-241-7/+7
|
* Fixed the semantic of timeout for socket.create_connection andFacundo Batista2008-05-291-6/+5
| | | | | | all the upper level libraries that use it, including urllib2. Added and fixed some tests, and changed docs correspondingly. Thanks to John J Lee for the patch and the pusing, :)
* socketserver renaming reversal part 3: move the module into the rightGeorg Brandl2008-05-241-1/+1
| | | | place and fix all references to it. Closes #2926.
* Updated all import statements to use the new socketserver module name.Alexandre Vassalotti2008-05-121-1/+1
| | | | | Renamed socketserver module in its own documentation. Renamed documentation references.
* Fix typo.Georg Brandl2008-05-111-1/+1
|
* #2742: ``''`` is not converted to NULL in getaddrinfo.Georg Brandl2008-05-111-4/+4
|
* #2752: fix second example too.Georg Brandl2008-05-051-1/+1
|
* #2752: wrong meaning of '' for socket host.Georg Brandl2008-05-041-1/+1
|
* A lot more typo fixes by Ori Avtalion.Georg Brandl2008-02-221-1/+1
|
* Update IPv6 RFC number.Georg Brandl2008-02-011-1/+1
|
* Markup fixAndrew M. Kuchling2008-01-161-1/+1
|
* Issue #1646: Make socket support TIPC. The socket module now has supportChristian Heimes2008-01-071-0/+27
| | | | | for TIPC under Linux, see http://tipc.sf.net/ for more information. Thanks to Alberto Bertogli for the patch
* Revert socket.rst to unix-eol.Georg Brandl2008-01-051-906/+906
|
* Added interface to Windows' WSAIoctl and a simple example for a network sniffer.Christian Heimes2008-01-041-863/+906
|
* Some cleanup in the docs.Georg Brandl2007-12-291-1/+1
|
* Change socket.error to inherit from IOError rather than being a standGregory P. Smith2007-09-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | alone class. This addresses the primary concern in http://bugs.python.org/issue1706815 python-dev discussion here: http://mail.python.org/pipermail/python-dev/2007-July/073749.html I chose IOError rather than EnvironmentError as the base class since socket objects are often used as transparent duck typed file objects in code already prepared to deal with IOError exceptions. also a minor fix: urllib2 - fix a couple places where IOError was raised rather than URLError. for better or worse, URLError already inherits from IOError so this won't break any existing code. test_urllib2net - replace bad ftp urls.
* Wording changeAndrew M. Kuchling2007-09-011-1/+1
|
* Patch 10124 by Bill Janssen, docs for the new ssl code.Guido van Rossum2007-08-271-91/+1
|