Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Document IPv6 changes. Contributed by itojun. | Martin v. Löwis | 2001-08-04 | 1 | -27/+204 |
| | |||||
* | SourceForge patch #103140, checked in at fdrake's invitation. Minor fixes and | Eric S. Raymond | 2001-01-10 | 1 | -6/+6 |
| | | | | additions to library docs.# | ||||
* | Revise the examples not to use the "from socket import *", and adjust | Fred Drake | 2000-10-10 | 1 | -5/+7 |
| | | | | one comment in the example for clarity. | ||||
* | Added a \versionadded statement to the getfqdn() description. | Fred Drake | 2000-09-06 | 1 | -0/+1 |
| | |||||
* | Document socket.getfqdn(). | Fred Drake | 2000-08-16 | 1 | -4/+12 |
| | |||||
* | Apply SF patch #101151, by Peter S-K, which fixes smtplib's passing of the | Thomas Wouters | 2000-08-15 | 1 | -0/+2 |
| | | | | | | 'helo' and 'ehlo' message, and exports the 'make_fqdn' function. This function should be moved to socket.py, if that module ever gets a Python wrapper. | ||||
* | Clean up markup to be more like recommended practice; only small changes | Fred Drake | 2000-07-06 | 1 | -6/+8 |
| | | | | needed. | ||||
* | Say "manual page", not "man page", when referring to the Unix manual. | Fred Drake | 2000-06-30 | 1 | -1/+1 |
| | |||||
* | Someone found the examples of poor practice on socket addresses! | Fred Drake | 2000-05-03 | 1 | -3/+3 |
| | | | | Spotted by Greg Kochanski <gpk@bell-labs.com>. | ||||
* | Added notes about the eventual disappearance of two-parameter bind(), | Fred Drake | 2000-04-04 | 1 | -2/+13 |
| | | | | | | | connect(), and connect_ex(). I didn't make these deprecation notices since it was never a documented feature. | ||||
* | Merged changes from the 1.5.2p2 release. | Fred Drake | 2000-04-03 | 1 | -4/+7 |
| | | | | (Very rough.) | ||||
* | Use \citetitle and \programopt as appropriate. | Fred Drake | 1999-11-10 | 1 | -7/+7 |
| | |||||
* | Added documentation for inet_aton() and inet_ntoa(), from Ben | Fred Drake | 1999-09-16 | 1 | -0/+28 |
| | | | | | | | Gertzfield <che@debian.org> (with minor changes). (Should have been here instead of in the branch in the first place, since these weren't in for the 1.5.2 release.) | ||||
* | Add index entry "I/O control, buffering" for makefile(). | Fred Drake | 1999-08-05 | 1 | -3/+4 |
| | |||||
* | Updated connect_ex() documentation based on comments in the newgroup | Fred Drake | 1999-05-06 | 1 | -1/+3 |
| | | | | (M.-A. Lemburg and GvR). | ||||
* | Logical markup nits. | Fred Drake | 1999-04-21 | 1 | -22/+25 |
| | | | | Make references to other modules hyperlinks. | ||||
* | New section header style. | Fred Drake | 1998-08-10 | 1 | -1/+2 |
| | | | | Fix up a few synopses. | ||||
* | Document gethostbyname_ex(). | Guido van Rossum | 1998-08-07 | 1 | -1/+12 |
| | |||||
* | Adjusted to use the new module synopsis support macros. | Fred Drake | 1998-07-23 | 1 | -2/+4 |
| | |||||
* | Remove all uses of \sectcode; we can now use logical markup everywhere. | Fred Drake | 1998-04-04 | 1 | -1/+1 |
| | |||||
* | Use {methoddesc} as appropriate. | Fred Drake | 1998-04-03 | 1 | -38/+37 |
| | |||||
* | Change "\," to just "," in function signatures. This is easier to maintain, | Fred Drake | 1998-03-17 | 1 | -3/+3 |
| | | | | | works better with LaTeX2HTML, and allows some simplification of the python.sty macros. | ||||
* | Logical markup. | Fred Drake | 1998-03-10 | 1 | -83/+86 |
| | |||||
* | Remove all \bcode / \ecode cruft; this is no longer needed. See previous | Fred Drake | 1998-02-13 | 1 | -6/+6 |
| | | | | | | | | | checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across. | ||||
* | Add ref to errno module, and change ref to posix.error to os.error. | Guido van Rossum | 1998-02-06 | 1 | -1/+3 |
| | |||||
* | Consistency: "{\it ...}" ==> "\emph{...}" | Fred Drake | 1998-01-20 | 1 | -2/+2 |
| | |||||
* | Consistency: "{\bf ...}" ==> "\strong{...}" | Fred Drake | 1998-01-14 | 1 | -1/+1 |
| | | | | | | | "{\em ...}" ==> "\emph{...}" Not at all sure what to do with "{\rm ...}". Leaving it for now. | ||||
* | Fix a little mess (Likecode{...} -> Like \code{...}) in recently added text. | Guido van Rossum | 1997-12-09 | 1 | -1/+1 |
| | |||||
* | Separated the definitions of ntohs(), ntohl(), htons(), htonl(). Separate | Fred Drake | 1997-12-08 | 1 | -8/+21 |
| | | | | | descriptions really make things look a bit better, and should improve the ability to re-purpose the content. | ||||
* | Document s.connect_ex(), which does not raise an exception on error. | Guido van Rossum | 1997-11-18 | 1 | -0/+7 |
| | |||||
* | socket_type ==> SocketType | Fred Drake | 1997-10-13 | 1 | -1/+1 |
| | |||||
* | AMK's megapatch: | Guido van Rossum | 1997-07-17 | 1 | -1/+6 |
| | | | | | | | * \bcode, \ecode added everywhere * \label{module-foo} added everywhere * A few \seealso sections added. * Indentation fixed inside verbatim in lib*tex files | ||||
* | Added description of socket_type. | Guido van Rossum | 1997-05-21 | 1 | -0/+5 |
| | |||||
* | Document "" and "<broadcast>". | Guido van Rossum | 1997-05-09 | 1 | -0/+4 |
| |