summaryrefslogtreecommitdiffstats
path: root/Objects/genobject.c
diff options
context:
space:
mode:
authorStephen Gildea <stepheng-bpo@gildea.com>2023-11-11 17:41:33 (GMT)
committerGitHub <noreply@github.com>2023-11-11 17:41:33 (GMT)
commit38035fed9ba543d587c1fbba5c463d34edf3aff9 (patch)
treecfb93161065f04daa9a7c77b41d510d096ab126f /Objects/genobject.c
parentfa84e5fe0a3bd8e77c33b20867d71ac6bee270f9 (diff)
downloadcpython-38035fed9ba543d587c1fbba5c463d34edf3aff9.zip
cpython-38035fed9ba543d587c1fbba5c463d34edf3aff9.tar.gz
cpython-38035fed9ba543d587c1fbba5c463d34edf3aff9.tar.bz2
gh-90890: New methods to access mailbox.Maildir message info and flags (#103905)
New methods to access mailbox.Maildir message info and flags: get_info, set_info, get_flags, set_flags, add_flag, remove_flag. These methods speed up accessing a message's info and/or flags and are useful when it is not necessary to access the message's contents, as when iterating over a Maildir to find messages with specific flags. --------- * Add more str type checking * modernize to f-strings instead of % Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Objects/genobject.c')
0 files changed, 0 insertions, 0 deletions