"Fred L. Drake, Jr." wrote: > > Tim Peters writes: > > Yet another use for a weak reference <0.5 wink>. > > Those just keep popping up! I seem to recall Diane Hackborne > actually implemented these under the name "vref" long ago; perhaps > that's worth revisiting after all? (Not the implementation so much as > the idea.) I think to make it general would cost one PyObject* in > each object's structure, and some code in some constructors (maybe), > and all destructors, but not much. > Is this worth pursuing, or is it locked out of the core because of > the added space for the PyObject*? (Note that the concept isn't > necessarily useful for all object types -- numbers in particular -- > but it only makes sense to bother if it works for everything, even if > it's not very useful in some cases.) FYI, there's mxProxy which implements a flavor of them. Look in the standard places for mx stuff ;-) -- Marc-Andre Lemburg ______________________________________________________________________ Y2000: 45 days left Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
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