[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

Łukasz Langa report at bugs.python.org
Fri Jul 16 11:16:11 EDT 2021


Łukasz Langa <lukasz at langa.pl> added the comment:

On second thought it's a bummer not to fix this in 3.9.x that will still be the only stable version until October. I'll refactor the relevant part of inspect.py in 3.9 to make the backport applicable.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40897>
_______________________________________


More information about the Python-bugs-list mailing list