summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
Commit message (Collapse)AuthorAgeFilesLines
* #20013: don't raise socket error when selected mailbox deleted.R David Murray2014-02-071-0/+5
| | | | | | | | I'm checking this in without a test because not much of this code is tested and I don't have time to work up the necessary extensions to the existing test framework. The patch itself was tested by the person who reported the bug.
* closes 16039: CVE-2013-1752: limit line length in imaplib readline calls.R David Murray2014-01-031-1/+13
|
* Issue #1441530: In imaplib, use makefile() to wrap the SSL socket to avoidCharles-François Natali2011-05-241-14/+4
| | | | heap fragmentation and MemoryError with some malloc implementations.
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
|
* Merged revisions 88114 via svnmerge fromAlexander Belopolsky2011-01-191-4/+10
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88114 | alexander.belopolsky | 2011-01-19 14:53:30 -0500 (Wed, 19 Jan 2011) | 5 lines Issue #10934: Fixed and expanded Internaldate2tuple() and Time2Internaldate() documentation. Thanks Joe Peterson for the report and the original patch. ........
* Merged revisions 86391 via svnmerge fromAntoine Pitrou2010-11-101-3/+9
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86391 | antoine.pitrou | 2010-11-10 09:59:25 +0100 (mer., 10 nov. 2010) | 4 lines Followup to r86383: it seems that in some cases (buildbots), the server closes the connection before we can call shutdown(). ........
* Merged revisions 86388 via svnmerge fromAntoine Pitrou2010-11-101-2/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86388 | antoine.pitrou | 2010-11-10 01:18:40 +0100 (mer., 10 nov. 2010) | 3 lines Forward port r86386 after it fixed the 3.1 buildbot issues ........
* Merged revisions 86383 via svnmerge fromAntoine Pitrou2010-11-091-0/+1
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86383 | antoine.pitrou | 2010-11-10 00:10:33 +0100 (mer., 10 nov. 2010) | 4 lines Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by Lorenzo M. Catucci. ........
* Merged revisions 83370,83372-83374,83384 via svnmerge fromGeorg Brandl2010-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83370 | georg.brandl | 2010-07-31 23:51:48 +0200 (Sa, 31 Jul 2010) | 5 lines #8198: the Helper class should not save the stdin and stdout objects at import time, rather by default use the current streams like the other APIs that output help. ........ r83372 | georg.brandl | 2010-08-01 00:05:54 +0200 (So, 01 Aug 2010) | 1 line #4007: remove *.a and *.so.X.Y files in "make clean". ........ r83373 | georg.brandl | 2010-08-01 00:11:11 +0200 (So, 01 Aug 2010) | 1 line #5147: revert accidental indentation of header constant for MozillaCookieJar. ........ r83374 | georg.brandl | 2010-08-01 00:32:52 +0200 (So, 01 Aug 2010) | 1 line #5146: handle UID THREAD command correctly. ........ r83384 | georg.brandl | 2010-08-01 08:32:55 +0200 (So, 01 Aug 2010) | 1 line Build properties using lambdas. This makes test_pyclbr pass again, because it does not think that input and output are methods anymore. ........
* Fix casing.Georg Brandl2010-01-021-1/+1
|
* remove use of deprecated os.popen #7619Benjamin Peterson2010-01-021-3/+8
|
* Issue #7568: typo in docstring. Thanks Mike Putnam.Mark Dickinson2009-12-241-1/+1
|
* Issue 5949: fixed IMAP4_SSL hang when the IMAP server response isR. David Murray2009-12-091-1/+3
| | | | | | missing proper end-of-line termination. Patch and tests by Scott Dial. The new tests include a test harness which will make it easier to add additional tests.
* Issue #1655: Make imaplib IPv6-capable. Patch by Derek Morr.Antoine Pitrou2009-05-151-4/+2
|
* #1389051: IMAP module tries to read entire message in one chunk. Patch by ↵Andrew M. Kuchling2008-02-231-1/+1
| | | | Fredrik Lundh.
* More work on SSL support.Bill Janssen2007-09-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* remove mentions of socket.ssl in commentsBill Janssen2007-08-311-3/+1
|
* 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-65/+70
| | | | | | | | | | | | | | | | 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.
* Patch #1605192: list allowed states in error messages for imaplib.Georg Brandl2007-03-131-4/+8
|
* updated __version__Piers Lauder2005-08-311-1/+1
|
* changed select() so readonly flag is treated as a booleanPiers Lauder2005-08-311-4/+4
|
* fixed tag generation to avoid null tagsPiers Lauder2005-07-051-2/+2
|
* added GET/SETANNOTATION methodsPiers Lauder2005-06-011-9/+36
|
* Fix bug in InternalDate regexp that failed to allow leading 0 in day - ↵Piers Lauder2005-03-021-1/+1
| | | | courtesy of Rimon Barr <rimon.barr@cornell.edu>
* Fix bug in _checkquote that raised an exception on empty "arg".Piers Lauder2004-10-081-2/+2
|
* Use floor division operator.Raymond Hettinger2004-09-271-1/+1
|
* Fix typo in getquotaroot parameter reported by Thierry FLORAC. Also amplify ↵Piers Lauder2004-08-101-3/+5
| | | | doc string for select to indicate proper way to obtain other responses.
* Patch #998149: imaplib deleteacl and myrights.Martin v. Löwis2004-07-271-0/+15
|
* Added IMAP4_stream to __all__Piers Lauder2004-06-021-1/+1
|
* Fixed IMAP4_SSL read bug introduced by patch 956394Piers Lauder2004-05-201-1/+1
|
* Fixed IMAP4_SSL read and readlines code per patch 956394Piers Lauder2004-05-201-7/+10
|
* fix name in setacl method doc stringPiers Lauder2004-03-251-1/+1
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-3/+3
| | | | From SF patch #852334.
* Patch #798297: Add IMAP THREAD command.Martin v. Löwis2003-11-101-0/+11
|
* Comment out cap, it was unused.Neal Norwitz2003-06-291-1/+2
| | | | Should all the commented out code be removed?
* improved CRLF regex for previous fixPiers Lauder2003-04-291-1/+1
|
* added code to canonicalise line endings in data sent via "append" - fix for ↵Piers Lauder2003-04-291-2/+3
| | | | bug report 723962
* Replace criterium with criterion. Fixes #705120.Martin v. Löwis2003-03-271-1/+1
|
* Get rid of many apply() calls.Guido van Rossum2003-02-271-8/+8
|
* Fix NameError in getquotaroot(), sanctioned by Piers.Guido van Rossum2003-01-131-1/+1
|
* Whitespace normalization.Tim Peters2002-11-241-2/+2
|
* added new IMAP4_stream class; added proxyauth command; added login_cram_md5 ↵Piers Lauder2002-11-221-12/+109
| | | | method
* Added missing class to __all__.Raymond Hettinger2002-10-301-1/+1
|
* Whitespace normalization.Tim Peters2002-07-161-1/+1
|
* Code modernization. Replace v=s[i]; del s[i] with single lookup v=s.pop(i)Raymond Hettinger2002-06-301-2/+1
|
* fix incorrect size calc. in IMAP4_SSL.readPiers Lauder2002-06-241-1/+1
|
* Fix IMAP4_SSL read and send methods to take account of short dataPiers Lauder2002-06-231-3/+16
|
* Whitespace normalization (tabs -> spaces)Neal Norwitz2002-06-171-5/+5
|
* Add IMAP4 QUOTA extension methodsPiers Lauder2002-06-171-2/+37
|