Commit 66eb66f2 authored by Stefan Behnel's avatar Stefan Behnel

Disable __Pyx_PyType_Ready() usage in PyPy & friends where it fails to compile...

Disable __Pyx_PyType_Ready() usage in PyPy & friends where it fails to compile currently. They should generally be happy with their own implementation.
See https://github.com/cython/cython/pull/4107
parent 88bf3f07
/////////////// PyType_Ready.proto ///////////////
static int __Pyx_PyType_Ready(PyTypeObject *t);
// FIXME: is this really suitable for CYTHON_COMPILING_IN_LIMITED_API?
#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API
static int __Pyx_PyType_Ready(PyTypeObject *t);/*proto*/
#else
#define __Pyx_PyType_Ready(t) PyType_Ready(t)
#endif
/////////////// PyType_Ready ///////////////
//@requires: ObjectHandling.c::PyObjectCallNoArg
#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API
// Wrapper around PyType_Ready() with some runtime checks and fixes
// to deal with multiple inheritance.
static int __Pyx_PyType_Ready(PyTypeObject *t) {
......@@ -136,6 +142,7 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
return r;
}
#endif
/////////////// PyTrashcan.proto ///////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment