What are the implications of registering an instance method with atexit in Python?
What are the implications of registering an instance method with atexit in Python? Question: Assume I’ve got some really big Python class that might consume a fair amount of memory. The class has some method that is responsible for cleaning up some things when the interpreter exits, and it gets registered with the atexit module: …