Commit Graph

69 Commits

Author SHA1 Message Date
Piers Lauder c1e32b6518 Fixed IMAP4_SSL read bug introduced by patch 956394 2004-05-20 11:32:35 +00:00
Piers Lauder 8f2b24401e Fixed IMAP4_SSL read and readlines code per patch 956394 2004-05-20 01:16:14 +00:00
Piers Lauder f167dc3380 fix name in setacl method doc string 2004-03-25 00:12:21 +00:00
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +00:00
Martin v. Löwis d8921379e9 Patch #798297: Add IMAP THREAD command. 2003-11-10 06:44:44 +00:00
Neal Norwitz b207170d39 Comment out cap, it was unused.
Should all the commented out code be removed?
2003-06-29 04:21:43 +00:00
Piers Lauder 533366beb0 improved CRLF regex for previous fix 2003-04-29 23:58:08 +00:00
Piers Lauder 47404fffff added code to canonicalise line endings in data sent via "append" - fix for bug report 723962 2003-04-29 23:40:59 +00:00
Martin v. Löwis 3ae0f7a7cf Replace criterium with criterion. Fixes #705120. 2003-03-27 16:59:38 +00:00
Guido van Rossum 68468eba63 Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
Guido van Rossum 41b71b2f4f Fix NameError in getquotaroot(), sanctioned by Piers. 2003-01-13 15:04:26 +00:00
Tim Peters 77c06fbf94 Whitespace normalization. 2002-11-24 02:35:35 +00:00
Piers Lauder e0273de432 added new IMAP4_stream class; added proxyauth command; added login_cram_md5 method 2002-11-22 05:53:04 +00:00
Raymond Hettinger d8ea2e080f Added missing class to __all__. 2002-10-30 06:20:37 +00:00
Tim Peters c411dbaeee Whitespace normalization. 2002-07-16 21:35:23 +00:00
Raymond Hettinger 46ac8eb3c8 Code modernization. Replace v=s[i]; del s[i] with single lookup v=s.pop(i) 2002-06-30 03:39:14 +00:00
Piers Lauder 17031bf421 fix incorrect size calc. in IMAP4_SSL.read 2002-06-24 23:35:37 +00:00
Piers Lauder 0c09293143 Fix IMAP4_SSL read and send methods to take account of short data 2002-06-23 10:47:13 +00:00
Neal Norwitz 1ed564af8c Whitespace normalization (tabs -> spaces) 2002-06-17 12:43:20 +00:00
Piers Lauder 3fca291a52 Add IMAP4 QUOTA extension methods 2002-06-17 07:07:20 +00:00
Piers Lauder f97b2d7dad open method changed to use arguments and set instance host/port values (instead of __init__) 2002-06-05 22:31:57 +00:00
Raymond Hettinger 54f0222547 SF 563203. Replaced 'has_key()' with 'in'. 2002-06-01 14:18:47 +00:00
Raymond Hettinger 936654bce0 Replaced boolean test with is None 2002-06-01 03:06:31 +00:00
Tim Peters 863ac44b74 Whitespace normalization. 2002-04-16 01:38:40 +00:00
Piers Lauder 95f8495de8 fixed missing IMAP4_SSL_PORT 2002-03-08 09:05:12 +00:00
Piers Lauder a4f8313cbb add SSL class submitted by Tino Lange 2002-03-08 01:53:24 +00:00
Piers Lauder f2d7d15805 moved command logging routines into IMAP4 class: thread safe/faster 2002-02-22 01:15:17 +00:00
Martin v. Löwis e12454f44a The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.
Replaces calls to socket.send() (which isn't guaranteed to send all data)
with the new socket.sendall() method.
2002-02-16 23:06:19 +00:00
Fred Drake db519205a2 Time2Internaldate(): Call isinstance() once for each of the type tests
instead of possibly twice by using a sequence of types to check for.
Add a message to the ValueError that can be raised.
2002-01-05 17:17:09 +00:00
Martin v. Löwis ea752fbb86 Check for time.struct_time in addition to tuples. Use 3 characters
for zone hours. Fixes #499169.
2002-01-05 11:31:49 +00:00
Tim Peters 1633a2e345 Whitespace normalization. 2001-10-30 05:56:40 +00:00
Guido van Rossum d6bebce5e5 Make tabnanny happy. (Piers, please run the test suite before
checking in changes.  The test suite requires consistent use of spaces
and tabs.)
2001-10-22 00:42:26 +00:00
Piers Lauder fe6accfc36 update version number 2001-10-21 22:37:28 +00:00
Piers Lauder 0402dd18cb fix send method not noticing when partial sends happen 2001-10-21 20:26:37 +00:00
Guido van Rossum c0f1bfec05 SF bug #469910 by Alfonso Baciero: Bugfix for imaplib for macintosh
Pass binary mode to makefile().
2001-10-15 13:47:08 +00:00
Guido van Rossum a79bbaca54 Remove redundant 'import sys' (PyChecker). 2001-08-13 15:34:41 +00:00
Piers Lauder e02f904cbf fix for Bug ID 448100 - "test code using NL instead of CRNL" 2001-08-05 10:43:03 +00:00
Tim Peters 87cc0c329e Whitespace normalization, plus:
+ test_quopri.py relied on significant trailing spaces.  Fixed.
+ test_dircache.py (still) doesn't work on Windows (directory mtime on
  Windows doesn't work like it does on Unix).
2001-07-21 01:41:30 +00:00
Piers Lauder 15e5d5344d apply patch item #416253 2001-07-20 10:52:06 +00:00
Piers Lauder 34d9705943 fix missed conversion in ESR's string conversion 2001-07-20 10:28:51 +00:00
Tim Peters ff0a2bb523 Somebody checked this in w/ an ambiguous tab/space mix (reported by
Mark Favas).
2001-06-18 23:56:36 +00:00
Guido van Rossum a85e2c8557 SF patch #433619, by Michel Pelletier:
Summary: NAMESPACE support in imaplib.py

Initial Comment:
Support for the IMAP NAMESPACE extension defined in rfc
2342.  This is almost a necessity for working with
modern IMAP servers.
2001-06-17 13:31:25 +00:00
Jeremy Hylton f5d3ea00b9 Fix previous checkin, hopelessly broken as it was; reported by Detlef Lannert. 2001-02-22 13:24:27 +00:00
Jeremy Hylton 3a9a96c778 replace exec with simple assignments 2001-02-21 16:33:24 +00:00
Eric S. Raymond 25a0cbc796 String method conversion. 2001-02-09 06:50:21 +00:00
Barry Warsaw f44939105a __all__: removed "error", "abort", "readonly", as these are not
exportable module attributes (they're attributes on the IMAP class).
Fixed the case typo on Time2Internaldate.

Does anybody run the test suite any more? <wink>
2001-01-24 04:16:09 +00:00
Skip Montanaro 2dd4276559 added a few more __all__ lists
fixed typo in ihooks docstring
2001-01-23 15:35:05 +00:00
Tim Peters 07e99cb774 Whitespace normalization. 2001-01-14 23:47:14 +00:00
Fred Drake fd267d998d Piers Lauder <piers@cs.su.oz.au>:
This patch adds a comment about quoting to the doc string,
and also checks that the 'flags' argument to the STORE command
is appropriately enclosed inside parentheses to avoid quoting.
2000-05-25 03:25:26 +00:00
Guido van Rossum 93a7c0fe6b Fredrik Lundh:
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...
2000-03-28 21:45:46 +00:00