Yes, it does still resort to setting globals to None. However, the
weakref step makes it much more likely that __del__ methods run
before that happens. After this change, referencing global variables
from __del__ methods is okay.
--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC