Message22915
Logged In: YES
user_id=35752
Ah,the detail that I was missing was that wr_callback is not
invoked if the weakref list has been cleared. I.e., calling
_PyWeakref_ClearRef() is enough ensure that the callback is
never implicitly envoked. That's cleaner than explicitly
clearing the wr_callback pointer and also seems to a
behavior that can be depended on (it's pretty fundamental to
how weakrefs are implemented).
patch3.txt looks like a winner. |
|
Date |
User |
Action |
Args |
2007-08-23 14:27:07 | admin | link | issue1055820 messages |
2007-08-23 14:27:07 | admin | create | |
|