[Cython] cdef class tp_new should call PyBaseObject_Type.tp_new?

Stefan Behnel stefan_ml at behnel.de
Thu Jan 9 08:39:41 CET 2014

Simon Jagoe, 08.01.2014 21:17:
> I recently posted to the cython-users list about this problem. This
> email is to submita potential patch to fix the issue.

Looking at the code in Py3, ISTM that it would be sufficient to do this iff

	(t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) != 0

which should be rare enough.

Obviously requires some user side testing to see if it breaks any other code...


More information about the cython-devel mailing list