Add PyGC_AddRoot calls any time we assign to a static variable
It seems like there's only one potentially bad one (zip_directory_cache), and the rest are more or less benign (most of the occurrences are added to the module as well as attributes), but it's probably good practice.
Showing
Please register or sign in to comment