Message375757
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. |
|
Date |
User |
Action |
Args |
2020-08-21 15:34:02 | iritkatriel | set | recipients:
+ iritkatriel |
2020-08-21 15:34:02 | iritkatriel | set | messageid: <1598024042.67.0.690981362649.issue41609@roundup.psfhosted.org> |
2020-08-21 15:34:02 | iritkatriel | link | issue41609 messages |
2020-08-21 15:34:02 | iritkatriel | create | |
|