gh-93010: InvalidHeaderError used but nonexistent#93015
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. |
warsaw
left a comment
There was a problem hiding this comment.
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 <105083118+oda-gitso@users.noreply.github.com>
|
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 <105083118+oda-gitso@users.noreply.github.com>
|
GH-93132 is a backport of this pull request to the 3.10 branch. |
Issue #93010.
On line 2382 in
Lib/email/_header_value_parser.py,errors.InvalidHeaderDefectshould be used, noterrors.InvalidHeaderError.I think this requires a backport. The commit for Line 2382 was in June, 2012.