[Python-Dev] PEP 409 and the stdlib
"Martin v. Löwis"
martin at v.loewis.de
Thu May 23 13:36:27 CEST 2013
Am 21.05.13 18:03, schrieb Ethan Furman:
> And, of course, we only make these changes when we're already modifying
> the module for some other reason.
In the specific case, the KeyError has indeed useful information that
the TypeError does not, namely the specific character that is the culprit.
So if you do drop the KeyError entirely, please carry over information
about the character into the TypeError.
More information about the Python-Dev