summaryrefslogtreecommitdiffstats
path: root/Lib/poplib.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the semantic of timeout for socket.create_connection andFacundo Batista2008-05-291-1/+2
| | | | | | 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, :)
* Fix-up docstringRaymond Hettinger2008-05-171-1/+1
|
* More work on SSL support.Bill Janssen2007-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Much expanded test suite: All protocols tested against all other protocols. All protocols tested with all certificate options. Tests for bad key and bad cert. Test of STARTTLS functionality. Test of RAND_* functions. * Fixes for threading/malloc bug. * Issue 1065 fixed: sslsocket class renamed to SSLSocket. sslerror class renamed to SSLError. Function "wrap_socket" now used to wrap an existing socket. * Issue 1583946 finally fixed: Support for subjectAltName added. Subject name now returned as proper DN list of RDNs. * SSLError exported from socket as "sslerror". * RAND_* functions properly exported from ssl.py. * Documentation improved: Example of how to create a self-signed certificate. Better indexing.
* Don't lie in __all__ attributes when SSL is not available: only add the SSLThomas Wouters2007-08-301-1/+2
| | | | classes when they are actually created.
* This contains a number of things:Bill Janssen2007-08-291-77/+83
| | | | | | | | | | | | | | | | 1) Improve the documentation of the SSL module, with a fuller explanation of certificate usage, another reference, proper formatting of this and that. 2) Fix Windows bug in ssl.py, and general bug in sslsocket.close(). Remove some unused code from ssl.py. Allow accept() to be called on sslsocket sockets. 3) Use try-except-else in import of ssl in socket.py. Deprecate use of socket.ssl(). 4) Remove use of socket.ssl() in every library module, except for test_socket_ssl.py and test_ssl.py.
* Added an optional timeout to poplib.POP3. Also created aFacundo Batista2007-03-271-16/+2
| | | | | test_poplib.py file with a basic test and the timeout ones. Docs are also updated.
* In stdlib, use hashlib instead of deprecated md5 and sha modules.Georg Brandl2006-04-301-2/+2
|
* bug [ 1252706 ] poplib list() docstring fix (and docs too)Georg Brandl2005-08-051-1/+1
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-8/+8
| | | | From SF patch #852334.
* Patch #: Add POP3 over SSL support.Martin v. Löwis2003-10-311-1/+89
|
* Replace boolean test with is None.Raymond Hettinger2002-06-011-2/+2
|
* The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.Martin v. Löwis2002-02-161-1/+1
| | | | | Replaces calls to socket.send() (which isn't guaranteed to send all data) with the new socket.sendall() method.
* Re-enabled debugging prints in poplib & documented the set_debuglevel()Fred Drake2001-12-051-5/+5
| | | | | method. This closes SF patch #486079.
* Only close sockets if they have been created. Reported by Blake Winton.Martin v. Löwis2001-10-071-1/+3
|
* Initialize msg to avoid unbound locals.Martin v. Löwis2001-07-311-0/+1
|
* Untabify IPv6 changes.Martin v. Löwis2001-07-261-17/+17
|
* Patch #401196: Use getaddrinfo and AF_INET6 in TCP servers and clients.Martin v. Löwis2001-07-241-7/+17
|
* __all__ for several more modulesSkip Montanaro2001-02-121-0/+2
|
* String method conversion.Eric S. Raymond2001-02-091-12/+10
|
* OK, checking in patch 103329.Moshe Zadka2001-01-191-4/+5
| | | | | | Please check it against your nearest pop server -- mine doesn't support APOP (I checked I'm getting the same error message, though)
* Whitespace normalization.Tim Peters2001-01-151-215/+215
|
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-1/+1
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* Caolan McNamara: properly undo the byte-stuffing of lines startingGuido van Rossum2000-05-091-0/+3
| | | | with a dot. [GvR change: only unstuff when line starts with two dots.]
* Fredrik Lundh:Guido van Rossum2000-03-281-1/+1
| | | | | This fixes a bunch of socket.connect(host, post) calls. Note that I haven't tested all modules -- I don't have enough servers here...
* Simple changes by Gerrit Holl - move author acknowledgements out ofGuido van Rossum2000-02-281-4/+4
| | | | docstrings into comments.
* POP3.uidl(): Update docstring based on comments from Piers LauderFred Drake1999-05-131-2/+3
| | | | <piers@cs.su.oz.au>.
* There was a confusion in my checkin of the code to support list() withGuido van Rossum1998-09-141-4/+4
| | | | | | | and without a message number argument: the argument was called 'msg' but the code expected it to be called 'which'. In line with the other methods, I've renamed the argument to 'which', and adapted the doc string not to refer to 'msg'.
* Fix suggested by movits@lockstar.com (plus doc string by myself)Guido van Rossum1998-09-021-4/+7
| | | | for LIST command with msg argument.
* Bug in how an except statement was written (submitted by Piers himself).Guido van Rossum1998-08-061-1/+1
|
* Version with docstrings and some other changes, by Piers Lauder.Guido van Rossum1998-04-091-88/+201
| | | | (Adapted by Just, I believe.)
* Dave Ascher's pop client code.Guido van Rossum1998-04-061-0/+201