Skip to content

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

Closed
gildea wants to merge 0 commit into
python:mainfrom
gildea:mailbox-maildir-get_flags
Closed

gh-90890: Add method mailbox.Maildir.get_flags#31302
gildea wants to merge 0 commit into
python:mainfrom
gildea:mailbox-maildir-get_flags

Conversation

@gildea

@gildeagildea commented Feb 12, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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

@gildea
gildea requested a review from hugovk as a code ownerApril 26, 2023 05:02
@gildeagildea closed this Apr 26, 2023
@gildea
gildeaforce-pushed the mailbox-maildir-get_flags branch from fde0567 to 31acfd7CompareApril 26, 2023 05:08
@bedevere-bot

Copy link
Copy Markdown

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@gildea

Copy link
Copy Markdown
ContributorAuthor

Superceded by #103905

@gildea

Copy link
Copy Markdown
ContributorAuthor

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 freeto 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

@gildea@vassilit@bedevere-bot@the-knights-who-say-ni@ezio-melotti