mirror of
https://github.com/python/cpython.git
synced 2026-01-28 05:35:31 +00:00
Previously, CO_NOFREE was set in the compiler, which meant it could end up being set incorrectly when code objects were created directly. Setting it in the constructor based on freevars and cellvars ensures it is always accurate, regardless of how the code object is defined.
Miscellaneous source files for the main Python shared library