diff options
author | Sam Gross <colesbury@gmail.com> | 2024-09-12 12:37:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-12 12:37:06 -0400 |
commit | b2afe2aae487ebf89897e22c01d9095944fd334f (patch) | |
tree | 3ffa3ebfe3c69cd21968ce76d8d7cb2f325ff6d3 /Lib/importlib/resources/_common.py | |
parent | 4ed7d1d6acc22807bfb5983c98fd59f7cb5061db (diff) | |
download | cpython-b2afe2aae487ebf89897e22c01d9095944fd334f.tar.gz cpython-b2afe2aae487ebf89897e22c01d9095944fd334f.zip |
gh-123923: Defer refcounting for `f_executable` in `_PyInterpreterFrame` (#123924)
Use a `_PyStackRef` and defer the reference to `f_executable` when
possible. This avoids some reference count contention in the common case
of executing the same code object from multiple threads concurrently in
the free-threaded build.
Diffstat (limited to 'Lib/importlib/resources/_common.py')
0 files changed, 0 insertions, 0 deletions