[Python-Dev] A missing piece of information in weakref documentation

Noam Raphael noamraph at gmail.com
Mon Dec 12 12:22:52 CET 2005


Hello,

I now discovered that a callback registered when creating a weak
reference will be called only if the weak reference object is still
alive. This is not documented in the weakref module documentation.

(It's a good behaviour - it just ought to be documented.)

Have a good day,
Noam


More information about the Python-Dev mailing list