[New-bugs-announce] [issue10241] gc fixes for module m_copy attribute

Neil Schemenauer report at bugs.python.org
Sat Oct 30 05:48:50 CEST 2010

New submission from Neil Schemenauer <nas-python at arctrix.com>:

I'm trying implement some saner module shutdown procedure (similar to issue 812369).  One of the many problems I've run into is that the GC doesn't know about the m_copy attribute of modules. 

I think the attached patch is correct.  tp_tranverse exposes m_copy if it is non-NULL.  tp_clear calls Py_CLEAR on it.

assignee: loewis
components: Interpreter Core
files: module_m_copy.txt
messages: 119957
nosy: benjamin.peterson, loewis, nascheme
priority: normal
severity: normal
status: open
title: gc fixes for module m_copy attribute
type: behavior
Added file: http://bugs.python.org/file19423/module_m_copy.txt

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list