[issue2651] Strings passed to KeyError do not round trip

Antoine Pitrou report at bugs.python.org
Wed Aug 4 11:44:13 CEST 2010

Antoine Pitrou <pitrou at free.fr> added the comment:

In KeyError_str, I think the following code shouldn't be deleted:

-    if (PyTuple_GET_SIZE(self->args) == 1) {
-        return PyObject_Repr(PyTuple_GET_ITEM(self->args, 0));


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list