Author: Antonio Cuni <[email protected]>
Branch: cpyext-jit
Changeset: r92519:31cea4ce3c8c
Date: 2017-09-29 21:41 +0100
http://bitbucket.org/pypy/pypy/changeset/31cea4ce3c8c/
Log: don't look inside this for now, else it raises InvalidCast; probably
it is possible to work-around it by casting both operands to void*,
but didn't try yet
diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/typeobject.py
--- a/pypy/module/cpyext/typeobject.py
+++ b/pypy/module/cpyext/typeobject.py
@@ -394,6 +394,7 @@
ptr = get_new_method_def(space)
ptr.c_ml_meth = rffi.cast(PyCFunction, llslot(space, tp_new_wrapper))
[email protected]_look_inside
def is_tp_new_wrapper(space, ml):
return ml.c_ml_meth == rffi.cast(PyCFunction, llslot(space,
tp_new_wrapper))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit