Web Development
rmpython.txt
Associated article: Resource Management in Python
Tags: Web Development
Published source code accompanying the article by Oliver Schoenborn in which he explores subtleties that can affect the portability, robustness, and performance of your Python programs.
Resource Management in Python
by Oliver Schoenborn
Listing One
class A:
def __init__(self):
self.b = B(self)
def __del__(self):
print "goodbye"
class B:
def __init__(self, a):
self.a = a
aa = A()
del aa
Listing Two
...


