[Python-Dev] How long the wrong type of argument should we limit (or not) in the error message (C-api)?

Vajrasky Kok sky.kok at speaklikeaking.com
Sun Dec 15 06:30:44 CET 2013


On Sun, Dec 15, 2013 at 7:52 AM, Victor Stinner
<victor.stinner at gmail.com> wrote:
>
> Oh, I like this proposition! The following pattern is very common in Python:
>
> "... %.400s ...", Py_TYPE(self)->tp_name
>

Okay, I have created ticket (and preliminary patch) for this
enhancement: http://bugs.python.org/issue19984

Vajrasky Kok


More information about the Python-Dev mailing list