Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Backport docs for recv_into and recvfrom_into. | Georg Brandl | 2007-03-18 | 1 | -0/+22 |
| | |||||
* | Fix SF #1599879, socket.gethostname should ref getfqdn directly. | Neal Norwitz | 2006-11-21 | 1 | -2/+2 |
| | |||||
* | [Bug #1583946] Reword description of server and issuer | Andrew M. Kuchling | 2006-10-27 | 1 | -5/+6 |
| | |||||
* | [Bug #1530382] Document SSL.server(), .issuer() methods | Andrew M. Kuchling | 2006-07-29 | 1 | -0/+52 |
| | |||||
* | [Bug #1475554] Strengthen text to say 'must' instead of 'should' | Andrew M. Kuchling | 2006-06-03 | 1 | -2/+2 |
| | |||||
* | Bug #1460564: document that socket.fromfd() duplicates the given | Georg Brandl | 2006-04-01 | 1 | -4/+5 |
| | | | | file descriptor. | ||||
* | Correct API design mistake from rev. 43126: make socket attributes readonly ↵ | Georg Brandl | 2006-03-21 | 1 | -15/+19 |
| | | | | properties. | ||||
* | RFE #567972: Socket objects' family, type and proto properties are | Georg Brandl | 2006-03-17 | 1 | -1/+16 |
| | | | | now exposed via new get...() methods. | ||||
* | Remove dots in \version{changed,added} argument and | Georg Brandl | 2006-01-15 | 1 | -2/+2 |
| | | | | correct argument order. | ||||
* | Remove extra period at end. | Neal Norwitz | 2006-01-15 | 1 | -1/+1 |
| | |||||
* | Patch #1103116: AF_NETLINK sockets basic support. | Martin v. Löwis | 2006-01-14 | 1 | -0/+3 |
| | |||||
* | Bug #756104: document that bufsize in socket.recv() should be small | Georg Brandl | 2005-12-26 | 1 | -0/+2 |
| | |||||
* | SF Bug #1308042, platform dependent behaviour (Windoze of course) in UDP ↵ | Neal Norwitz | 2005-10-03 | 1 | -1/+2 |
| | | | | sockets. Will backport | ||||
* | Fix test for socket.getfqdn() to also include the name returned by | Brett Cannon | 2005-03-11 | 1 | -2/+2 |
| | | | | | | | socket.gethostname() in the check for a valid return. Also clarified docs (official and docstring) that the value from gethostname() is returned if gethostbyaddr() doesn't do the job. | ||||
* | Patch #1015012. Improve markup and punctuation in libsocket.tex | Dave Cole | 2004-08-26 | 1 | -3/+3 |
| | |||||
* | Updated the socketpair() docstring and documentation to explain that the | Dave Cole | 2004-08-23 | 1 | -2/+3 |
| | | | | | default famility is AF_UNIX if defined for the platform, otherwise the default is AF_INET. | ||||
* | Ooops - for some reason I had the wrong versionadded... | Dave Cole | 2004-08-09 | 1 | -1/+1 |
| | |||||
* | Patch #1003700: Add socketpair function to socket module. | Dave Cole | 2004-08-09 | 1 | -0/+8 |
| | |||||
* | Added socket.getservbyport(), and make its second argument and that of | Barry Warsaw | 2004-06-28 | 1 | -3/+9 |
| | | | | getservbyname() optional. Update the tests and the docs. | ||||
* | avoid backticks in examples; use repr() instead | Fred Drake | 2004-06-03 | 1 | -2/+2 |
| | |||||
* | note that the error code for socket.gaierror will be one of the EAI_* | Fred Drake | 2004-05-05 | 1 | -0/+2 |
| | | | | | constants (closes SF bug #837929) | ||||
* | #928751, fix typos in socket doc | Neal Norwitz | 2004-04-03 | 1 | -3/+3 |
| | |||||
* | update signature of the socket constructor | Fred Drake | 2004-01-27 | 1 | -5/+7 |
| | | | | (could someone backport this to Python 2.3.x please?) | ||||
* | After hearing from someone who gave up on timeout sockets due to a | Guido van Rossum | 2003-12-13 | 1 | -0/+4 |
| | | | | | mistake in his code, I'm adding a note explaining that you should call settimeout() before connect(). | ||||
* | Patch #849595: Add socket.shutdown() constants. | Martin v. Löwis | 2003-11-27 | 1 | -2/+2 |
| | |||||
* | Add note about fileno not being usable as a normal file descriptor in Windows. | Brett Cannon | 2003-08-05 | 1 | -0/+4 |
| | |||||
* | SF bug #774411: Typo in socket documentation | Raymond Hettinger | 2003-07-20 | 1 | -1/+1 |
| | |||||
* | SF patch #760257: add socket.timeout exception | Raymond Hettinger | 2003-06-29 | 1 | -1/+9 |
| | | | | | | (Contributed by Bob Halley) Add documentation for the new socket.timeout exception. | ||||
* | SF #757229, fix libsocket.tex typo | Neal Norwitz | 2003-06-20 | 1 | -1/+1 |
| | |||||
* | - add availability statements for some of the new APIs | Fred Drake | 2003-04-25 | 1 | -38/+38 |
| | | | | - lots of general cleanup | ||||
* | Fix a copy-paste error: the paragraph about inet_ntop's use was copied | Guido van Rossum | 2003-04-25 | 1 | -2/+2 |
| | | | | literally from inet_pton. | ||||
* | Add versionadded for has_ipv6 attribute | Neal Norwitz | 2003-04-25 | 1 | -0/+1 |
| | |||||
* | Patch by Jp Calderone: | Guido van Rossum | 2003-04-25 | 1 | -0/+42 |
| | | | | | | | | | - The socket module now provides the functions inet_pton and inet_ntop for converting between string and packed representation of IP addresses. See SF patch #658327. This still needs a bit of work in the doc area, because it is not available on all platforms (especially not on Windows). | ||||
* | add descriptions of {get,set}defaulttimeout. | Skip Montanaro | 2003-03-20 | 1 | -0/+14 |
| | |||||
* | Major overhaul of timeout sockets: | Guido van Rossum | 2002-06-13 | 1 | -21/+22 |
| | | | | | | | | | | | | | | | | | | | | - setblocking(0) and settimeout(0) are now equivalent, and ditto for setblocking(1) and settimeout(None). - Don't raise an exception from internal_select(); let the final call report the error (this means you will get an EAGAIN error instead of an ETIMEDOUT error -- I don't care). - Move the select to inside the Py_{BEGIN,END}_ALLOW_THREADS brackets, so other theads can run (this was a bug in the original code). - Redid the retry logic in connect() and connect_ex() to avoid masking errors. This probably doesn't work for Windows yet; I'll fix that next. It may also fail on other platforms, depending on what retrying a connect does; I need help with this. - Get rid of the retry logic in accept(). I don't think it was needed at all. But I may be wrong. | ||||
* | Clarify the interaction between timeout/non-blocking mode, makefile | Guido van Rossum | 2002-06-07 | 1 | -1/+10 |
| | | | | and fromfd. | ||||
* | Fix typo | Neal Norwitz | 2002-06-07 | 1 | -1/+1 |
| | |||||
* | Clarify the interaction between blocking and timeouts. Explain that | Guido van Rossum | 2002-06-07 | 1 | -16/+23 |
| | | | | fromfd() assumes a blocking non-timeout socket. | ||||
* | Add version info, and fix another typo and wording spotted by /F. I think ↵ | Neal Norwitz | 2002-06-06 | 1 | -2/+4 |
| | | | | this is what he meant. :-) | ||||
* | Fix typo spotted by Fredrik Lundh. | Fred Drake | 2002-06-06 | 1 | -1/+1 |
| | |||||
* | Fix some markup errors and adjust wording slightly. | Fred Drake | 2002-06-06 | 1 | -15/+15 |
| | |||||
* | SF patch 555085 (timeout socket implementation) by Michael Gilfix. | Guido van Rossum | 2002-06-06 | 1 | -0/+23 |
| | | | | | | | | | | | | | I've made considerable changes to Michael's code, specifically to use the select() system call directly and to store the timeout as a C double instead of a Python object; internally, -1.0 (or anything negative) represents the None from the API. I'm not 100% sure that all corner cases are covered correctly, so please keep an eye on this. Next I'm going to try it Windows before Tim complains. No way is this a bugfix candidate. :-) | ||||
* | Fix the erroneous availability annotation for s.makefile() from the last | Fred Drake | 2001-12-22 | 1 | -5/+7 |
| | | | | | checkin (my fault!). Wrap some long lines and fix some markup inconsistencies. | ||||
* | Add notes that fromfd() and s.makefile() are Unix-specific. | Fred Drake | 2001-12-21 | 1 | -12/+14 |
| | | | | | | This fixes SF bug #495896. Fix up various markup consistency & style guide conformance nits. | ||||
* | Added documentation of the sendall() method, and a note to the send() method | Fred Drake | 2001-12-05 | 1 | -0/+13 |
| | | | | | that it does not guarantee that all data is sent. This closes SF patch #474307. | ||||
* | Use the \note and \warning macros where appropriate. | Fred Drake | 2001-10-20 | 1 | -7/+7 |
| | |||||
* | When stating that some parameters to makefile() are similar to the open() | Fred Drake | 2001-10-19 | 1 | -1/+2 |
| | | | | | | | | parameters, given a hyperlink to the right part of the documentation to make it easier to look those up. Also, refer to the file() function/ constructor instead of open() now that that is where the actual docs for those parameters live. This closes SF bug #472004. | ||||
* | Document that keyfile and certfile are now optional. | Jeremy Hylton | 2001-10-11 | 1 | -1/+1 |
| | | | | XXX Forgot to mention this in the last socketmodule.c checkin. | ||||
* | Fix some markup errors. | Fred Drake | 2001-09-27 | 1 | -2/+2 |
| | |||||
* | Added documentation for the SSL interface, contributed by Gerhard Häring. | Fred Drake | 2001-09-25 | 1 | -0/+23 |
| | | | | This closes SF patch #461337. |