Ah, thanks for the info! The solution in the Wiki works well. Cheers, Jesse David K. Hess on October 19, 2004 wrote: > > __del__ is not a good way to handle this. When exiting, some things can > fail unexpectedly causing spurious errors (like the print oddity you > describe). I ran into this using MySQLdb. > > Check out the Quixote Wiki entry on this topic: > > http://www.quixote.ca/qx/ReusingConnections > > An explicit cleanup handler plus a finally: clause does the trick. > > Dave >