This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kermit666
Recipients ag6502, alex, benjamin.peterson, brett.cannon, eric.araujo, ezio.melotti, kermit666
Date 2013-07-07.13:34:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
OK, thanks for the feedback. I signed the CLA.

I'll then wait with the remaining work, until a final decision has been made. We have a rough idea of how it could be implemented if it comes to this - adding a wrapper function in Python/errors.c:

    PyErr_SetAttributeError(PyObject *attr, const char *format, ...)

that would replace all the PyErr_SetObject, PyErr_SetString and PyErr_Format calls (in around 50 files), create the kwargs object, format the message (if provided) and call PyErr_SetObject or PyErr_SetFormat.

I put the last patch as a commit in the attr bookmark on BitBucket (took me quite some time to figure out that's the alternative to git branches), so that subsequent changes go more easily.
Date User Action Args
2013-07-07 13:34:34kermit666setrecipients: + kermit666, brett.cannon, ag6502, benjamin.peterson, ezio.melotti, eric.araujo, alex
2013-07-07 13:34:34kermit666setmessageid: <>
2013-07-07 13:34:34kermit666linkissue18156 messages
2013-07-07 13:34:33kermit666create