I think renaming an old variable is a common and sensible way to free a resource in python. If there are no valid names for a resource it will be garbage collected. Which is different in languages like C++ with manual memory management.
John Carmack is a C++ programmer apparently that still has a lot to learn in python.
John Carmack is a C++ programmer apparently that still has a lot to learn in python.