Bernhard Herzog <bh at intevation.de>: > Wouldn't it be possible to call the callbacks of all weakrefs that point > to a cycle about to be destroyed before that destruction begins? I'm not sure that would be a good idea, for the same reasons that it wouldn't be a good idea to do the same for __del__ methods. Something might depend on them being called in the right order, or in not being called too soon. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4