[pypy-issue] Issue #2742: cpyext: class subclassable even if Py_TPFLAGS_BASETYPE not set (pypy/pypy)

Christoph Reiter issues-reply at bitbucket.org
Tue Jan 30 04:10:23 EST 2018


New issue 2742: cpyext: class subclassable even if Py_TPFLAGS_BASETYPE not set
https://bitbucket.org/pypy/pypy/issues/2742/cpyext-class-subclassable-even-if

Christoph Reiter:

I have a base class which has Py_TPFLAGS_BASETYPE set, then on subclass which has it cleared.

In PyPy the resulting type can be subclassed, in CPython TypeError is raised.




More information about the pypy-issue mailing list