[IPython-user] c++ destructors not called

Malte Marquarding Malte.Marquarding@csiro...
Sun Oct 28 18:58:08 CDT 2007


Hi,

I have a c++ object that creates temporary files, which are deleted  
in the destructor. I am using these in python via boost::python  
wrappers.
When running the python interpreter (directly) everything gets  
cleaned up properly on exit. However, when exiting ipython the  
destructor never gets called.
Unfortunately it is a bit hard to provide a test case, that's why I  
thought I ask first if someone else has seen this.

Cheers,
Malte.


More information about the IPython-user mailing list