-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-93010: InvalidHeaderError used but nonexistent #93015
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
Conversation
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Thanks for the quick fix! 👍 Perhaps it would make sense to add my reproducer from the issue as a test case as well? |
@The-Compiler Sure! |
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice find, and thanks for the fix. I have a couple of small suggestions, and yes we should backport this to actively maintained branches.
Misc/NEWS.d/next/Library/2022-05-20-15-52-43.gh-issue-93010.WF-cAc.rst
Outdated
Show resolved
Hide resolved
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 |
Misc/NEWS.d/next/Library/2022-05-20-15-52-43.gh-issue-93010.WF-cAc.rst
Outdated
Show resolved
Hide resolved
As instructed by bedevere: I have made the requested changes; please review again. Thank you! |
Thanks for making the requested changes! @warsaw: please review the changes made to this pull request. |
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 |
Thanks @oda-gitso for the PR, and @warsaw for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
* fix issue 93010 Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 71abeb0) Co-authored-by: oda-gitso <[email protected]>
GH-93131 is a backport of this pull request to the 3.11 branch. |
* fix issue 93010 Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 71abeb0) Co-authored-by: oda-gitso <[email protected]>
GH-93132 is a backport of this pull request to the 3.10 branch. |
* fix issue 93010 Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 71abeb0) Co-authored-by: oda-gitso <[email protected]>
* fix issue 93010 Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 71abeb0) Co-authored-by: oda-gitso <[email protected]>
Issue #93010.
On line 2382 in
Lib/email/_header_value_parser.py
,errors.InvalidHeaderDefect
should be used, noterrors.InvalidHeaderError
.I think this requires a backport. The commit for Line 2382 was in June, 2012.