diff options
author | Stephen Gildea <stepheng-bpo@gildea.com> | 2023-11-11 17:41:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-11 17:41:33 (GMT) |
commit | 38035fed9ba543d587c1fbba5c463d34edf3aff9 (patch) | |
tree | cfb93161065f04daa9a7c77b41d510d096ab126f /Objects/genobject.c | |
parent | fa84e5fe0a3bd8e77c33b20867d71ac6bee270f9 (diff) | |
download | cpython-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