Skip to content

gh-150474: Fix Email Header Parser issue t.token_type == 'attrtext'#150475

Open
benediktjohannes wants to merge 5 commits into
python:mainfrom
benediktjohannes:patch-13
Open

gh-150474: Fix Email Header Parser issue t.token_type == 'attrtext'#150475
benediktjohannes wants to merge 5 commits into
python:mainfrom
benediktjohannes:patch-13

Conversation

@benediktjohannes
Copy link
Copy Markdown
Contributor

@benediktjohannes benediktjohannes commented May 26, 2026

t.token_type == 'attrtext'

compares t.token_type with 'attrtext', but it has to be

t.token_type = 'attrtext'

This needs a backport for bug fix branches, please.

Contributed by Benedikt Johannes

Copy link
Copy Markdown
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have some test exercising the regression? it must fail on main and pass on this branch.

@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 27, 2026

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

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.

2 participants