[Patches] [ python-Patches-581742 ] Alternative PyTRASHCAN subtype_dealloc
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 06 Aug 2002 14:42:55 -0700
Patches item #581742, was opened at 2002-07-15 11:47
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=581742&group_id=5470
Category: Core (C code)
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Jonathan Hogg (jhogg)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Alternative PyTRASHCAN subtype_dealloc
Initial Comment:
This is an alternative to patch #575073 (PyTRASHCAN
slots deallocation) that wraps 'subtype_dealloc' in the
(very slightly altered) normal PyTRASHCAN macros.
This patch isn't meant to be pretty, it's just to
demonstrate another possible solution. I would expect
it to be worked on before being accepted. I'm sure
there must be a way to safely untrack the object at the
beginning.
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-08-06 17:42
Message:
Logged In: YES
user_id=6380
Fixed along these lines, but without modifying the trashcan
macro to test for GC; instead, the non-GC case is separated
out by subtype_dealloc().
Thanks!!!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=581742&group_id=5470