[python-win32] smart : __del__ replace atexit

Michel Claveau mc at mclaveau.com
Mon Aug 21 22:23:30 CEST 2006


Hi!

A little stunt :  in COM server (with pywin32), atexit is not interesting.

Then, look, in the class-serverCOM, the method   __del__(self):
When you close the COM-server, or when you exit the application who called 
the COM-server, the method is called.

And...   "le tour est joué"  (french sentence)

@-salutations

Michel Claveau




More information about the Python-win32 mailing list