summaryrefslogtreecommitdiffstats
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-06-22 23:23:08 (GMT)
committerGitHub <noreply@github.com>2023-06-22 23:23:08 (GMT)
commitee52158f209835d6d4ca27f44218466f266f4afb (patch)
tree52f39ccad2c75bbcc512c277d10ed453e8fbd369 /Python/getcompiler.c
parent193a2b2eaab9890f2cb16128c95bb63cb49307f1 (diff)
downloadcpython-ee52158f209835d6d4ca27f44218466f266f4afb.zip
cpython-ee52158f209835d6d4ca27f44218466f266f4afb.tar.gz
cpython-ee52158f209835d6d4ca27f44218466f266f4afb.tar.bz2
gh-105927: PyImport_AddModule() uses _PyWeakref_GET_REF() (#106001)
It now raises an exception if sys.modules doesn't hold a strong reference to the module. Elaborate the comment explaining why a weak reference is used to create a borrowed reference.
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions