Samuele Pedroni writes: > AFAIK using java weak refs (which I think is a natural choice) I see > no way (at least no worth-the-effort way) to implement this in jython. > Java weak refs cannot be resurrected. This is certainly annoying. How about this: the callback receives the weak reference object or proxy which it was registered on as a parameter. Since the reference has already been cleared, there's no way to get the object back, so we don't need to get it from Java either. Would that be workable? (I'm adjusting my patch now.) -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Digital Creations
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