[ python-Bugs-1542051 ] Exceptions don't call _PyObject_GC_UNTRACK(self)
SourceForge.net
noreply at sourceforge.net
Tue Sep 5 07:22:04 CEST 2006
Bugs item #1542051, was opened at 2006-08-17 15:21
Message generated for change (Comment added) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1542051&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.5
Status: Open
Resolution: None
Priority: 7
Submitted By: iga Seilnacht (zseil)
Assigned to: Neal Norwitz (nnorwitz)
Summary: Exceptions don't call _PyObject_GC_UNTRACK(self)
Initial Comment:
If I understand the GC rules correctly, BaseException
and its subclasses should call _PyObject_GC_UNTRACK
in their tp_dealloc methods.
----------------------------------------------------------------------
>Comment By: Georg Brandl (gbrandl)
Date: 2006-09-05 05:22
Message:
Logged In: YES
user_id=849994
Attaching my patch here.
Neal: PyObject_GC_TRACK is called in PyType_GenericAlloc,
which is used for exceptions since the tp_alloc slot is 0.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1542051&group_id=5470
More information about the Python-bugs-list
mailing list