SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72153 0 0 Python

gh-127274: Defer nested methods (#128012)

Methods (functions defined in class scope) are likely to be cleaned
up by the GC anyway.

Add a new code flag, `CO_METHOD`, that is set for functions defined
in a class scope. Use that when deciding to defer functions.
M
mpage committed
255762c09fe518757bb3e8ce1bb6e5d8eec9f466
Parent: e163e8d
Committed by GitHub <noreply@github.com> on 12/19/2024, 9:03:14 PM