[wxpython-users] handling of PyDeadObjectErrors
Jürgen Kareta
python at kareta.de
Fri Apr 4 12:58:48 PDT 2008
Hello,
currently working on a somewhat complex project using matplotlib I came
across some wx.PyDeadObjectErrors.
For example I build my own legend frames (wx.MiniFrame) which are
deleted and recreated when ever the user
selects to show a new plot.
I'm able to fetch the errors in a try/except clause, but I wonder if
there is a way to force the python GC to delete the python object
immediately after the C++ object is deleted.
Any hints ?
regards
Jürgen
More information about the wxpython-users
mailing list