A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-March/021876.html below:

Evil Trashcan and GC interaction

[Python-Dev] Re: Evil Trashcan and GC interaction [Python-Dev] Re: Evil Trashcan and GC interactionNeil Schemenauer nas@python.ca
Thu, 28 Mar 2002 10:45:14 -0800
Tim Peters wrote:
> We each patched ceval.c locally; e.g., here's mine:
> 
> #define SETLOCAL(i, value)	do { PyObject *_t = GETLOCAL(i); 	\
> 				     GETLOCAL(i) = value;		\
> 				     Py_XDECREF(_t); } while (0)

That's the same fix Andrew and I had in mind.  My concern is that this
is probably not the only bug of this type.  The trashcan mechanism
changes the ordering of object deallocation.  What are the chances of
other bugs like this lurking somewhere?

  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