bpo-44525: Copy free variables in bytecode to allow calls to inner functions to be specialized (GH-29595)
* Make internal APIs that take PyFrameConstructor take a PyFunctionObject instead. * Add reference to function to frame, borrow references to builtins and globals. * Add COPY_FREE_VARS instruction to allow specialization of calls to inner functions.
M
Mark Shannon committed
135cabd328504e1648d17242b42b675cdbd0193b
Parent: d82f2ca
Committed by GitHub <noreply@github.com>
on 11/23/2021, 9:53:24 AM