[Patches] [ python-Patches-1084092 ] Description of args to IMAP4.store() in imaplib

SourceForge.net noreply at sourceforge.net
Sat Dec 18 20:55:48 CET 2004


Patches item #1084092, was opened at 2004-12-12 19:14
Message generated for change (Comment added) made by kuran
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1084092&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Sean Reifschneider (jafo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Description of args to IMAP4.store() in imaplib

Initial Comment:
This patch includes a description of (as far as I can
tell) what the option message_set can be, and more
information about what the "command" option to store()
needs to be.  It also includes an example of using
store() to delete messages.  I also added a "close()"
before "logout()" in the example, since the
documentation says close is recommended before logout.

----------------------------------------------------------------------

Comment By: Jp Calderone (kuran)
Date: 2004-12-18 14:55

Message:
Logged In: YES 
user_id=366566

message_set may also take forms including a wildcard upper
bound ("*") and define multiple non-continuous ranges (comma
delimited).  For example,

    # all messages from 3 up
    3:*

    # 3, 4, 5, 7, 8, 9
    3:5,7:9

This seems worthy of note in the docstring.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1084092&group_id=5470


More information about the Patches mailing list