Message411725
Calls of the form `x.m(args)` where either `x = X` or x = X()` and X is a class, and `m` is a classmethod or staticmethod are not currently specialized.
Typically the `x.m()` will translate to:
LOAD_FAST x
LOAD_METHOD "m"
PRECALL_METHOD 0
CALL 0
Since classmethods and staticmethods are descriptors, only the LOAD_METHOD should need specializing. The PRECALL/CALL will be able to handle the resulting values without modification. |
|
Date |
User |
Action |
Args |
2022-01-26 10:01:18 | Mark.Shannon | set | recipients:
+ Mark.Shannon, kj |
2022-01-26 10:01:18 | Mark.Shannon | set | messageid: <1643191278.03.0.471360623467.issue46533@roundup.psfhosted.org> |
2022-01-26 10:01:18 | Mark.Shannon | link | issue46533 messages |
2022-01-26 10:01:17 | Mark.Shannon | create | |
|