diff options
author | W. Trevor King <wking@drexel.edu> | 2009-10-05 21:00:34 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-10-05 21:00:34 -0400 |
commit | aa7546258e3f24bec3df2d8c4b203ed08e0acbce (patch) | |
tree | d93b3c47e74e62524238f6e7dea03acf735988de /.be/bugs/d9959864-ea91-475a-a075-f39aa6760f98/comments/2496ccca-130b-4459-bfae-9d9ef0138177/values | |
parent | e35ccf95ea89b6e622202caae30d3b8cca3f2473 (diff) | |
download | bugseverywhere-aa7546258e3f24bec3df2d8c4b203ed08e0acbce.tar.gz |
Moved from *.__del__() to exclusive use of *.cleanup().
*.__del__() is run some unspecified time after the refcount for an
object is reduced to zero. Sometimes that means that the rest of the
world has already been deallocated, which makes life difficult,
especially when Python won't attempt to construct stack traces inside
*.__del__(). We were always (hopefully ;) calling del(*) anyway,
so we just replace those calls with *.cleanup()
Diffstat (limited to '.be/bugs/d9959864-ea91-475a-a075-f39aa6760f98/comments/2496ccca-130b-4459-bfae-9d9ef0138177/values')
0 files changed, 0 insertions, 0 deletions