A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-March/013866.html below:

[Python-Dev] RE: CVS Python is unstable

[Python-Dev] RE: CVS Python is unstable [Python-Dev] RE: CVS Python is unstableNeil Schemenauer nas@arctrix.com
Fri, 23 Mar 2001 05:47:40 -0800
On Fri, Mar 23, 2001 at 12:10:33AM -0500, Tim Peters wrote:
> I *suspect* the difference wrt debug mode is right where it's blowing up:
> 
> static void
> gc_list_remove(PyGC_Head *node)
> {
> 	node->gc_prev->gc_next = node->gc_next;
> 	node->gc_next->gc_prev = node->gc_prev;
> #ifdef Py_DEBUG
> 	node->gc_prev = NULL;
> 	node->gc_next = NULL;
> #endif
> }

PyObject_GC_Fini() should not be called twice on the same object
unless there is a PyObject_GC_Init() in between.  I suspect that
Fred's change made this happen.  When Py_DEBUG is not defined the
GC will do all sorts of strange things if you do this, hence the
debugging code.

  Neil



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4