summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-02-26 20:43:44 (GMT)
committerGitHub <noreply@github.com>2024-02-26 20:43:44 (GMT)
commit7b91b9001a444f5b5acdfd786b07bfde3405e93a (patch)
treeccb8d89d0e70bcea76c8eb9bf902245bee2ce4c2 /pyconfig.h.in
parent53b84e772cac6e4a55cebf908d6bb9c48fe254dc (diff)
downloadcpython-7b91b9001a444f5b5acdfd786b07bfde3405e93a.zip
cpython-7b91b9001a444f5b5acdfd786b07bfde3405e93a.tar.gz
cpython-7b91b9001a444f5b5acdfd786b07bfde3405e93a.tar.bz2
[3.12] gh-114763: Protect lazy loading modules from attribute access races (GH-114781) (GH-115870)
gh-114763: Protect lazy loading modules from attribute access races (GH-114781) Setting the __class__ attribute of a lazy-loading module to ModuleType enables other threads to attempt to access attributes before the loading is complete. Now that is protected by a lock. (cherry picked from commit 200271c61db44d90759f8a8934949aefd72d5724) Co-authored-by: Chris Markiewicz <effigies@gmail.com>
Diffstat (limited to 'pyconfig.h.in')
0 files changed, 0 insertions, 0 deletions