[issue40897] Inheriting from Generic causes inspect.signature to always return (*args, **kwargs) for constructor (and all subclasses)
Guido van Rossum
report at bugs.python.org
Mon Jun 8 00:58:18 EDT 2020
Guido van Rossum <guido at python.org> added the comment:
So does that make this "not a bug"? Or is there something to document? For technical reasons we can't just add a __init__ method to Generic, and I doubt that it's feasible to change inspect.signature().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40897>
_______________________________________
More information about the Python-bugs-list
mailing list