>> Then you need to hang onto the closure. That might be some distance
>> away from the point at which the function was registered.
Greg> Well, if you get a unique ID, you need to hang onto that somehow,
Greg> too.
Yes, but an int is both much smaller than a function and can't be involved
in cyclic garbage.
Skip
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com