[New-bugs-announce] [issue42065] Fix incorrectly formatted _codecs.charmap_decode error message

Tal Einat report at bugs.python.org
Sat Oct 17 16:05:08 EDT 2020


New submission from Tal Einat <taleinat+python at gmail.com>:

The error message for _codecs.charmap_decode uses a non-existent formatting placeholder "%lx", when a mapped value is a number outside the range of valid Unicode code points.

This was reported by Max Bernstein (@tekknolagi) on GitHub PR GH-19940.

----------
messages: 378827
nosy: taleinat
priority: normal
severity: normal
status: open
title: Fix incorrectly formatted _codecs.charmap_decode error message

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42065>
_______________________________________


More information about the New-bugs-announce mailing list