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/2003-May/035674.html below:

[Python-Dev] C new-style classes and GC

[Python-Dev] C new-style classes and GC [Python-Dev] C new-style classes and GCGuido van Rossum guido@python.org
Fri, 16 May 2003 14:23:51 -0400
> There are dozens of objects in Python that do not call tp_free.  For
> example, range object's have a tp_dealloc that is set to PyObject_Del().
> Should we change those?  Or should we say that it's okay to call
> PyObject_Del() and PyObject_GC_Del() from objects that are not intended
> to be subclassed?

If those types don't have the Py_TPFLAGS_BASETYPE flag set, they're
okay.  Otherwise they should be fixed.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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