[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor
Guido van Rossum
report at bugs.python.org
Mon Jun 8 13:16:39 EDT 2020
Guido van Rossum <guido at python.org> added the comment:
Changing the topic to not point fingers at Generic.
----------
nosy: -levkivskyi
title: Inheriting from Generic causes inspect.signature to always return (*args, **kwargs) for constructor (and all subclasses) -> Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40897>
_______________________________________
More information about the Python-bugs-list
mailing list