This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Alternative PyTRASHCAN subtype_dealloc
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gvanrossum, jhogg
Priority: normal Keywords: patch

Created on 2002-07-15 15:47 by jhogg, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
subtype_dealloc.patch jhogg, 2002-07-15 15:47 Context diff patch file (subtype_dealloc.patch)
Messages (2)
msg40596 - (view) Author: Jonathan Hogg (jhogg) Date: 2002-07-15 15:47
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.
msg40597 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-08-06 21:42
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!!!
History
Date User Action Args
2022-04-10 16:05:30adminsetgithub: 36899
2002-07-15 15:47:56jhoggcreate