reference counting for garbage collection

Neil Schemenauer nas at python.ca
Mon Dec 10 14:26:04 EST 2001


If you want to close to the connection you should call x.close().
Hoping that the GC will close the connection for you in a timely manner
is bad style.

  Neil




More information about the Python-list mailing list