Author Jelle Zijlstra
Recipients Jelle Zijlstra, 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:05Jelle Zijlstrasetrecipients: + Jelle Zijlstra, terry.reedy, gregory.p.smith, ncoghlan, donovick, Thor Whalen, Thor Whalen2, domdfcoding
2021-05-02 04:36:05Jelle Zijlstrasetmessageid: <1619930165.41.0.709934561493.issue41232@roundup.psfhosted.org>
2021-05-02 04:36:05Jelle Zijlstralinkissue41232 messages
2021-05-02 04:36:05Jelle Zijlstracreate