Issue 1084092: Description of args to IMAP4.store() in imaplib (original) (raw)
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.
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:9This seems worthy of note in the docstring.