Python Internals: PyObject

Sergei Danielian (via Hacker News): Each Python’s type implementation (PyIntObject, PyFloatObject or PyDictObject) has PyObject_HEAD located as its first member (or the first member of its first member, and so on). This member sub-object is guaranteed to be located at the same address as the full object. The PyObject_HEAD refers at that member sub-object, but … Continue reading Python Internals: PyObject