>>>>> "NS" == Neil Schemenauer <nas@arctrix.com> writes: NS> On Thu, Jan 25, 2001 at 12:04:16PM -0800, Jeremy Hylton wrote: >> A cell contains a reference to a single PyObject. It could be >> implemented as a mutable, one-element sequence, but the separate >> type has less overhead. NS> Can this object be involved in reference cycles? If so, it NS> should probably have the GC methods added to it. It's already there. (Last five lines of cellobject.c quoted as proof.) > Py_TPFLAGS_DEFAULT | Py_TPFLAGS_GC, /* tp_flags */ > 0, /* tp_doc */ > (traverseproc)cell_traverse, /* tp_traverse */ > (inquiry)cell_clear, /* tp_clear */ >};
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