Skip to content

gh-90890: Add method mailbox.Maildir.get_flags #31302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 0 commits into from

Conversation

gildea
Copy link
Contributor

@gildea gildea commented Feb 12, 2022

New method mailbox.Maildir.get_flags speeds up iterating
over a Maildir to find messages with specific flags.

https://bugs.python.org/issue46734

@vassilit
Copy link

What about having fast set_flags, get_info, set_info methods to Maildir as well ?

@gildea
Copy link
Contributor Author

gildea commented Apr 26, 2023

Superceded by #103905

@gildea
Copy link
Contributor Author

gildea commented May 10, 2023

I have added the additional methods vassilit suggested: set_flags, add_flag, remove_flag, get_info, set_info.
Please take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants