commit | 75ba075110bbb3dcac6e975540bf8eda65774ec1 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Tue Jan 23 22:41:20 2007 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Tue Jan 23 22:41:20 2007 +0000 |
tree | 012de9cedbf5036184d8bbbea0ec4da61ea1f00f | |
parent | 601d03a5be6a6952ecb57750f0365d6ef2abd4eb [diff] |
If you created a weakref in an object's __del__ method to itself it would segfault the interpreter during weakref clean up. Now any new weakrefs created after __del__ is run are removed silently. Fixes bug #1377858 and the weakref_in_del crasher for new-style classes. Classic classes are still affected.