This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JelleZijlstra
Recipients JelleZijlstra, Thor Whalen, Thor Whalen2, domdfcoding, donovick, gregory.p.smith, ncoghlan, terry.reedy
Date 2021-05-02.04:36:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619930165.41.0.709934561493.issue41232@roundup.psfhosted.org>
In-reply-to
Content
That's because inspect.signature by default follows the `.__wrapped__` attribute, so it gives you the signature for the *wrapped* function. That behavior is occasionally problematic (I ran into it in the context of https://github.com/quora/pyanalyze/issues/82), but I don't think it can be safely changed.
History
Date User Action Args
2021-05-02 04:36:05JelleZijlstrasetrecipients: + JelleZijlstra, terry.reedy, gregory.p.smith, ncoghlan, donovick, Thor Whalen, Thor Whalen2, domdfcoding
2021-05-02 04:36:05JelleZijlstrasetmessageid: <1619930165.41.0.709934561493.issue41232@roundup.psfhosted.org>
2021-05-02 04:36:05JelleZijlstralinkissue41232 messages
2021-05-02 04:36:05JelleZijlstracreate