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: PyTRASHCAN slots deallocation
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gvanrossum, jhogg, tim.peters
Priority: normal Keywords: patch

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

Files
File name Uploaded Description Edit
slots-dealloc.patch jhogg, 2002-06-28 15:23 Context-diff patch file (slots-dealloc.patch)
slots-dealloc.patch jhogg, 2002-07-15 15:23 Context-diff patch file (slots-dealloc.patch)
Messages (4)
msg40442 - (view) Author: Jonathan Hogg (jhogg) Date: 2002-06-28 15:23
This is an addition to the PyTRASHCAN macros to support
delayed deallocation of arbitrary objects (i.e., not
just builtin containers), and a modification to the
'clear_slots' routine to use these macros.

This patch fixes bug ID 574207, "Chained __slots__
dealloc segfault".

The solution is not ideal, but it appears to have
minimal impact.
msg40443 - (view) Author: Jonathan Hogg (jhogg) Date: 2002-07-15 15:23
Logged In: YES 
user_id=10036

Attaching a new version of this patch against the 2.3 HEAD
code (as of today).
msg40444 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2002-08-06 19:46
Logged In: YES 
user_id=31435

Assigned to Guido.
msg40445 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-08-06 21:44
Logged In: YES 
user_id=6380

Fixed in CVS for 2.3 according to your alternative patch.
History
Date User Action Args
2022-04-10 16:05:27adminsetgithub: 36820
2002-06-28 15:23:25jhoggcreate