Closed
Description
Bug report
traverse_module_state
can in theory return non-zero code:
cpython/Modules/_interpchannelsmodule.c
Lines 283 to 302 in 0d9d489
because PY_VISIT
can return it:
Lines 193 to 200 in 0d9d489
So, using it like this:
cpython/Modules/_interpchannelsmodule.c
Lines 3627 to 3629 in 0d9d489
Is also not really correct. I will send a PR with the fix.
Linked PRs
- gh-135839: Fix
traverse_module_state
usage in_interpchannelsmodule
#135840 - [3.14] gh-135839: Fix
module_traverse
andmodule_clear
in_interpchannelsmodule
(GH-135840) #135918 - [3.13] gh-135839: Fix
module_traverse
andmodule_clear
in_interpchannelsmodule
(GH-135840) #135919 - gh-135839: Fix
module_traverse
andmodule_clear
in subinterp modules #135937 - [3.14] gh-135839: Fix
module_traverse
andmodule_clear
in subinterp modules (GH-135937) #135939 - [3.13] gh-135839: Fix
module_traverse
andmodule_clear
in subinterp modules (GH-135937) #135943
Metadata
Metadata
Assignees
Projects
Status
Done