[pypy-issue] [issue1480] PyThreadState members lacking for gevent/callbacks.c

Ian Delaney tracker at bugs.pypy.org
Wed May 8 07:48:37 CEST 2013


New submission from Ian Delaney <della5 at iinet.com.au>:

current 2.0 beta2

Can't build gevent-1.0rc2 with pypy2

running build_ext
building 'gevent.core' extension
creating
/mnt/gen2/TmpDir/portage/dev-python/gevent-1.0_rc2/work/gevent-1.0rc2-pypy2_0/temp.linux-x86_64-2.7
creating
/mnt/gen2/TmpDir/portage/dev-python/gevent-1.0_rc2/work/gevent-1.0rc2-pypy2_0/temp.linux-x86_64-2.7/gevent
cc -march=athlon64 -pipe -fomit-frame-pointer -O2 -fno-strict-aliasing -fPIC
-I/usr/lib64/pypy2.0/include -c gevent/gevent.core.c -o
/mnt/gen2/TmpDir/portage/dev-python/gevent-1.0_rc2/work/gevent-1.0rc2-pypy2_0/temp.linux-x86_64-2.7/gevent/gevent.core.o
In file included from gevent/gevent.core.c:38714:0:
gevent/callbacks.c: In function ‘gevent_handle_error’:
gevent/callbacks.c:8:18: error: ‘PyThreadState’ has no member named ‘curexc_type’
gevent/callbacks.c:11:19: error: ‘PyThreadState’ has no member named ‘curexc_value’
gevent/callbacks.c:12:23: error: ‘The ’ has no member named ‘curexc_traceback’
error: command 'cc' failed with exit status 1

The PyThreadState appears lacking. Can this be done via cffi?

----------
messages: 5685
nosy: idella5, pypy-issue
priority: performance bug
release: 2.0
status: unread
title: PyThreadState members lacking for gevent/callbacks.c

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1480>
________________________________________


More information about the pypy-issue mailing list