SIGN IN SIGN UP

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>
S
Stephen Gildea committed
38035fed9ba543d587c1fbba5c463d34edf3aff9
Parent: fa84e5f
Committed by GitHub <noreply@github.com> on 11/11/2023, 5:41:33 PM