Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Closed
Description
We want to add a version number to code objects, so that all functions that are created from the same code object have the same version number (at least until they are mutated).
Code objects are immutable, so they do not need a version number themselves, it is just to help function objects.
By ensuring that all function objects created from the same code object have the same version number, we can effectively specialize comprehensions and inner functions.
Seefaster-cpython/ideas#446 for more details.