bpo-42065: Fix incorrectly formatted _codecs.charmap_decode error message #19940
Conversation
The formatter does not support `%lx`. Add previously failing tests.
|
I imagine this is minor enough that news & issue are not required. If this is not the case, happy to make one or both. |
|
@tekknolagi, thank you for the pull request. You'd probably get more visibility on this with an issue on the bug tracker. It's easy for pull requests to be missed without a corresponding issue. |
|
Is it mergeable as-is or should I make an issue? |
|
Please make an issue. |
|
Indeed, as a bugfix, this needs an issue and a NEWS entry. @tekknolagi, is this something you're willing to do? |
|
Never mind, I'll do it myself. This is a good fix for an obvious bug, and the tests are good, so I'd like to get this in. |
|
LGTM |
|
Thanks @tekknolagi for the PR, and @taleinat for merging it |
|
GH-22743 is a backport of this pull request to the 3.9 branch. |
…sage (pythonGH-19940) (cherry picked from commit 3635388) Co-authored-by: Max Bernstein <tekknolagi@users.noreply.github.com>
…sage (pythonGH-19940) (cherry picked from commit 3635388) Co-authored-by: Max Bernstein <tekknolagi@users.noreply.github.com>
|
GH-22744 is a backport of this pull request to the 3.8 branch. |
|
Thanks for this PR, @tekknolagi! |
|
Thanks for adding the news entry, etc. I could not find the time nor the energy |
|
That's fine, @tekknolagi. For future reference, blurb-it makes adding NEWS entries to PRs very easy. |


The formatter does not support
%lx. Add previously failing tests.https://bugs.python.org/issue42065