[issue30592] Bad error message 'bool()() takes no keyword arguments'

Serhiy Storchaka report at bugs.python.org
Thu Jun 8 08:50:49 EDT 2017


Serhiy Storchaka added the comment:

We don't have such code currently. The function name containing "()" looks silly. But funcname is not always a constant string, you can set it to arbitrary string when create a BaseException subclass.

----------

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


More information about the Python-bugs-list mailing list