has been called? I thought that line was only
being executed for user-defined types, and maybe some built-in types, but
certainly not PyType_Type.
On Sun, Feb 7, 2016 at 9:27 PM, eryk sun wrote:
> On Sun, Feb 7, 2016 at 7:58 AM, Randy Eels wrote:
> >
> > Yet, I can't seem
Hi everyone,
I've a question about the implementation of the `type` builtin (in Python
3.5).
In Objects/typeobject.c, the `tp_alloc` slot of PyType_Type gets set to 0.
However, I can see (using gdb) that it later gets assigned to
`&PyType_GenericAlloc`. I'd argue that this makes sense because, in