mirror of
https://github.com/python/cpython.git
synced 2026-05-07 05:01:13 -04:00
3c4a7fa617
This replaces `_PyEval_BuiltinsFromGlobals` with `_PyDict_LoadBuiltinsFromGlobals`, which returns a new reference instead of a borrowed reference. Internally, the new function uses per-thread reference counting when possible to avoid contention on the refcount fields on the builtins module.
Miscellaneous source files for the main Python shared library