Message158561
| Author |
pitrou |
| Recipients |
Jim.Jewett, amaury.forgeotdarc, asvetlov, dstanek, kristjan.jonsson, loewis, pitrou, rhettinger, stutzbach, tim.peters |
| Date |
2012年04月17日.17:58:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334685435.3418.3.camel@localhost.localdomain> |
| In-reply-to |
<CAMMy=OvxDjH9jxA_9yfD9XNUidyzG9SF0-ihOqB3ruZy4ME1CQ@mail.gmail.com> |
| Content |
> On Tue, Apr 17, 2012 at 4:08 AM, Antoine Pitrou <report@bugs.python.org> wrote:
> > has_finalizer() in gcmodule.c doesn't check for weakref callbacks, so a
> > weakref callback can still be invoked from tp_dealloc.
>
> Unless I'm mistaken, weakrefs will be handled and removed by
> handle_weakrefs() before delete_garbage() is called.
Perhaps, but what does that change? |
|