summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* open method changed to use arguments and set instance host/port values ↵Piers Lauder2002-06-051-8/+12
| | | | (instead of __init__)
* SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger2002-06-011-13/+13
|
* Replaced boolean test with is NoneRaymond Hettinger2002-06-011-1/+1
|
* Whitespace normalization.Tim Peters2002-04-161-1/+1
|
* fixed missing IMAP4_SSL_PORTPiers Lauder2002-03-081-1/+2
|
* add SSL class submitted by Tino LangePiers Lauder2002-03-081-1/+74
|
* moved command logging routines into IMAP4 class: thread safe/fasterPiers Lauder2002-02-221-56/+65
|
* The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.Martin v. Löwis2002-02-161-8/+1
| | | | | Replaces calls to socket.send() (which isn't guaranteed to send all data) with the new socket.sendall() method.
* Time2Internaldate(): Call isinstance() once for each of the type testsFred Drake2002-01-051-4/+4
| | | | | instead of possibly twice by using a sequence of types to check for. Add a message to the ValueError that can be raised.
* Check for time.struct_time in addition to tuples. Use 3 charactersMartin v. Löwis2002-01-051-5/+5
| | | | for zone hours. Fixes #499169.
* Whitespace normalization.Tim Peters2001-10-301-1/+1
|
* Make tabnanny happy. (Piers, please run the test suite beforeGuido van Rossum2001-10-221-7/+7
| | | | | checking in changes. The test suite requires consistent use of spaces and tabs.)
* update version numberPiers Lauder2001-10-211-1/+1
|
* fix send method not noticing when partial sends happenPiers Lauder2001-10-211-1/+7
|
* SF bug #469910 by Alfonso Baciero: Bugfix for imaplib for macintoshGuido van Rossum2001-10-151-1/+1
| | | | Pass binary mode to makefile().
* Remove redundant 'import sys' (PyChecker).Guido van Rossum2001-08-131-1/+1
|
* fix for Bug ID 448100 - "test code using NL instead of CRNL"Piers Lauder2001-08-051-1/+1
|
* Whitespace normalization, plus:Tim Peters2001-07-211-5/+5
| | | | | | + 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).
* apply patch item #416253Piers Lauder2001-07-201-38/+115
|
* fix missed conversion in ESR's string conversionPiers Lauder2001-07-201-1/+1
|
* Somebody checked this in w/ an ambiguous tab/space mix (reported byTim Peters2001-06-181-5/+5
| | | | Mark Favas).
* SF patch #433619, by Michel Pelletier:Guido van Rossum2001-06-171-0/+7
| | | | | | | | | 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.
* Fix previous checkin, hopelessly broken as it was; reported by Detlef Lannert.Jeremy Hylton2001-02-221-7/+7
|
* replace exec with simple assignmentsJeremy Hylton2001-02-211-3/+7
|
* String method conversion.Eric S. Raymond2001-02-091-17/+17
|
* __all__: removed "error", "abort", "readonly", as these are notBarry Warsaw2001-01-241-2/+2
| | | | | | | 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>
* added a few more __all__ listsSkip Montanaro2001-01-231-0/+3
| | | | fixed typo in ihooks docstring
* Whitespace normalization.Tim Peters2001-01-141-819/+818
|
* Piers Lauder <piers@cs.su.oz.au>:Fred Drake2000-05-251-8/+16
| | | | | | 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.
* 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...
* Piers Lauder:Guido van Rossum2000-03-281-26/+49
| | | | | | | | | This patch fixes the "search" command in imaplib. The problem was that a search can take multiple arguments, but as defined, would only accept one. I have also made changes to the test code at the end to be less verbose by default, but to accept a verbosity argument.
* Patch by Piers Lauder, who writes:Guido van Rossum2000-02-281-5/+6
| | | | | | | | This patch is re: Lucas.Dejonge@awtpl.com.au: [Python-bugs-list] imaplib - not complying with RFC (PR#218) Lucas de Jonge reported that the code in imaplib that detects a read-write to read-only change doesn't comply with RFC 2060.
* Simple changes by Gerrit Holl - move author acknowledgements out ofGuido van Rossum2000-02-281-4/+4
| | | | docstrings into comments.
* Piers Lauder:Guido van Rossum2000-02-241-5/+5
| | | | | | | A change in my last patch could, under certain circumstances, cause a loop if the connection to the server dropped while waiting for a command completion. I've changed the code to re-raise the error after possible debugging output.
* Patches by Piers Lauder.Guido van Rossum2000-02-171-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reasons for patches: 1st patch (15,21): version change 2nd patch (66,72): This is a patch I found in a Zope product release (quite by accident!). It relaxes the conditions for matching a literal. I've looked over the logic, and tested it, and it seems sensible. 3rd patch (117,123): It appears the quoting matcher was too general, and that the IMAP4 protocol requires characters like ':' in commands to be unquoted. (This is the patch already sent to Guido.) 4th patch (699,705): Spelling correction in comment. 5th patch (753,761): Another patch from the Zope product. It seems that some IMAP4 servers produce unexpected responses in the middle of valid command/response sequences. This patch ignores the unexpected responses in this situation. (How I wish users would send me bug reports with examples!). last 2 patches: (1015,1028) (1038,1044): Minor improvements to test code.
* V 2.16 from Piers:Guido van Rossum1999-12-131-50/+123
| | | | | | | I've changed the login command to force proper quoting of the password argument. I've also added some extra debugging code, which is removed when __debug__ is false.
* Piers Lauder writes:Guido van Rossum1998-10-211-1/+1
| | | | | | | | | """ Jochen Hayek has reported a problem with some versions of IMAP4 servers that choose to mix the case in their CAPABILITIES response. The patch below fixes the problem. """
* New version from Piers Lauder, who writes:Guido van Rossum1998-09-281-88/+115
| | | | | | | | | | Added a debug function to replace 'print' statements. Ensured that response attached to 'NO' replies is passed back. added readonly exception. Rearranged method order into types. Ensure select returns a meaningful error on 'NO'. 'NO' returns from authenticate and login raise error with last message, not list.
* Piers' latest version, labeled 2.11. This time he integrated myGuido van Rossum1998-06-251-18/+14
| | | | | changes, and made only a few minor changes. No changes of my own this time.
* Piers' latest version -- authentication added by Donn Cave.Guido van Rossum1998-06-181-41/+175
|
* Improve the self-test code a bit: read a host from sys.argv[1] if set,Guido van Rossum1998-05-291-2/+8
| | | | and list the host name when prompting for the password.
* Piers Lauders' latest version, with some of my own changes reapplied.Guido van Rossum1998-05-291-10/+31
| | | | Also replaced random()*32000 with randint(0, 31999).
* Use random instead of whrandom.Guido van Rossum1998-05-201-2/+2
|