[issue4322] function with modified __name__ uses original name when there's an arg error

Benjamin Peterson report at bugs.python.org
Fri Nov 14 22:39:47 CET 2008


Benjamin Peterson <musiccomposition at gmail.com> added the comment:

This is because these errors use the code object's name attribute
(f.func_code.co_name) for error messages.

----------
nosy: +benjamin.peterson
priority:  -> normal

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


More information about the Python-bugs-list mailing list