[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 09:26:05 EDT 2021
Łukasz Langa <lukasz at langa.pl> added the comment:
New changeset 948e39a866ccf33b4e30668c3f88a95a65966159 by Miss Islington (bot) in branch '3.10':
bpo-40897:Give priority to using the current class constructor in `inspect.signature` (GH-27177) (#27189)
https://github.com/python/cpython/commit/948e39a866ccf33b4e30668c3f88a95a65966159
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40897>
_______________________________________
More information about the Python-bugs-list
mailing list