diff options
author | Dino Viehland <dinoviehland@meta.com> | 2024-05-06 17:50:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 17:50:35 (GMT) |
commit | 5a1618a2c8c108b8c73aa9459b63f0dbd66b60f6 (patch) | |
tree | a9b79e4cb8e0a9d1d648e21619382a03363c1f46 /.devcontainer | |
parent | e6b213ee3ffb05f067d30cb8bb45681887212444 (diff) | |
download | cpython-5a1618a2c8c108b8c73aa9459b63f0dbd66b60f6.zip cpython-5a1618a2c8c108b8c73aa9459b63f0dbd66b60f6.tar.gz cpython-5a1618a2c8c108b8c73aa9459b63f0dbd66b60f6.tar.bz2 |
gh-118362: Fix thread safety around lookups from the type cache in the face of concurrent mutators (#118454)
Add _PyType_LookupRef and use incref before setting attribute on type
Makes setting an attribute on a class and signaling type modified atomic
Avoid adding re-entrancy exposing the type cache in an inconsistent state by decrefing after type is updated
Diffstat (limited to '.devcontainer')
0 files changed, 0 insertions, 0 deletions