[issue2651] Strings passed to KeyError do not round trip

Martin Panter report at bugs.python.org
Sun Apr 12 03:17:38 CEST 2015


Martin Panter added the comment:

The moratorium is over as far as I understand, and PEP 3151 (OSError changes) has already been implemented.

My understanding is that exception messages are not generally part of the API. I think that avoiding this surprising quirk is more important than retaining backwards compatibility with the formatted exception message. But if it cannot be changed, we can at least document the quirk.

----------
nosy: +vadmium

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2651>
_______________________________________


More information about the Python-bugs-list mailing list