Content-Length: 306979 | pFad | https://github.com/python/cpython/pull/127107

ad [3.13] gh-127020: Make `PyCode_GetCode` thread-safe for free threading (GH-127043) by miss-islington · Pull Request #127107 · python/cpython · GitHub
Skip to content

[3.13] gh-127020: Make PyCode_GetCode thread-safe for free threading (GH-127043) - #127107

Merged
colesbury merged 1 commit into
python:3.13from
miss-islington:backport-3926842-3.13
Nov 21, 2024
Merged

[3.13] gh-127020: Make PyCode_GetCode thread-safe for free threading (GH-127043)#127107
colesbury merged 1 commit into
python:3.13from
miss-islington:backport-3926842-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 21, 2024

Copy link
Copy Markdown
Contributor

Some fields in PyCodeObject are lazily initialized. Use atomics and
critical sections to make their initializations and accesses thread-safe.
(cherry picked from commit 3926842)

Co-authored-by: Sam Gross colesbury@gmail.com

…pythonGH-127043)

Some fields in PyCodeObject are lazily initialized. Use atomics and
critical sections to make their initializations and accesses thread-safe.
(cherry picked from commit 3926842)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/127107

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy