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 iritkatriel
Recipients iritkatriel
Date 2020-08-21.15:34:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598024042.67.0.690981362649.issue41609@roundup.psfhosted.org>
In-reply-to
Content
The reason for this that it first checks whether there is a __code__ attribute (which both methods and functions have) and only afterwards checks for __func__.__code__. 

I will submit a patch with a test and fix shortly.
History
Date User Action Args
2020-08-21 15:34:02iritkatrielsetrecipients: + iritkatriel
2020-08-21 15:34:02iritkatrielsetmessageid: <1598024042.67.0.690981362649.issue41609@roundup.psfhosted.org>
2020-08-21 15:34:02iritkatriellinkissue41609 messages
2020-08-21 15:34:02iritkatrielcreate