New issue 2627: PyThreadState missing curexc_type, curexc_value. 
curexc_traceback
https://bitbucket.org/pypy/pypy/issues/2627/pythreadstate-missing-curexc_type

Stuart Axon:

Attempting to build pygame, it appears there are a few missing members on 
PyThreadState:

    curexc_type, curexc_value. curexc_traceback


https://github.com/pygame/pygame

-
```
$ make install
python setup.py install
running install
running bdist_egg
running egg_info
creating pygame.egg-info
writing pygame.egg-info/PKG-INFO
writing dependency_links to pygame.egg-info/dependency_links.txt
writing top-level names to pygame.egg-info/top_level.txt
writing manifest file 'pygame.egg-info/SOURCES.txt'
reading manifest file 'pygame.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching '*/CVS'
no previously-included directories found matching '*/*/CVS'
writing manifest file 'pygame.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying lib/version.py -> build/lib.linux-x86_64-2.7/pygame
running build_ext
building 'pygame.pypm' extension
cc -pthread -DNDEBUG -O2 -fPIC -D_REENTRANT -DENABLE_NEWBUF=0 
-I/usr/X11R6/include -I/usr/include/SDL -I/usr/include -I/usr/include 
-I/mnt/data/home/stu/.virtualenvs/pypy-nightly/include -c src/pypm.c -o 
build/temp.linux-x86_64-2.7/src/pypm.o
src/pypm.c: In function ‘__Pyx_ErrRestore’:
src/pypm.c:4991:22: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_type’
     tmp_type = tstate->curexc_type;
                      ^~
src/pypm.c:4992:23: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_value’
     tmp_value = tstate->curexc_value;
                       ^~
src/pypm.c:4993:20: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_traceback’
     tmp_tb = tstate->curexc_traceback;
                    ^~
src/pypm.c:4994:11: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_type’
     tstate->curexc_type = type;
           ^~
src/pypm.c:4995:11: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_value’
     tstate->curexc_value = value;
           ^~
src/pypm.c:4996:11: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_traceback’
     tstate->curexc_traceback = tb;
           ^~
src/pypm.c: In function ‘__Pyx_ErrFetch’:
src/pypm.c:5004:19: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_type’
     *type = tstate->curexc_type;
                   ^~
src/pypm.c:5005:20: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_value’
     *value = tstate->curexc_value;
                    ^~
src/pypm.c:5006:17: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_traceback’
     *tb = tstate->curexc_traceback;
                 ^~
src/pypm.c:5008:11: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_type’
     tstate->curexc_type = 0;
           ^~
src/pypm.c:5009:11: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_value’
     tstate->curexc_value = 0;
           ^~
src/pypm.c:5010:11: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘curexc_traceback’
     tstate->curexc_traceback = 0;
           ^~
error: command 'cc' failed with exit status 1
Makefile:10: recipe for target 'install' failed
make: *** [install] Error 1

```


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to