summaryrefslogtreecommitdiffstats
path: root/Python/pystrhex.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-09-26 14:50:38 (GMT)
committerGitHub <noreply@github.com>2024-09-26 14:50:38 (GMT)
commit257a20a81764fcc17bcde9c0cec57fbc53a4adc7 (patch)
tree32592f63994993b8ff275ef497bbbda9d8af5b9a /Python/pystrhex.c
parentabe5f799e6ce1d177f79554f1b84d348b6141045 (diff)
downloadcpython-257a20a81764fcc17bcde9c0cec57fbc53a4adc7.zip
cpython-257a20a81764fcc17bcde9c0cec57fbc53a4adc7.tar.gz
cpython-257a20a81764fcc17bcde9c0cec57fbc53a4adc7.tar.bz2
gh-119127: Fix _functools.Placeholder singleton (#124601)
* The module state now stores a strong reference to the Placeholder singleton. * Use a regular dealloc function. * Add Py_TPFLAGS_HAVE_GC flag and a traverse function to help the GC to collect the type when a _functools extension is unloaded.
Diffstat (limited to 'Python/pystrhex.c')
0 files changed, 0 insertions, 0 deletions