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

2013-05-08 Thread Amaury Forgeot d Arc
Amaury Forgeot d Arc added the comment: The pypy emulation of PyThreadState cannot support these members. There are public functions to get the "hot exception" state, PyErr_Fetch and PyErr_Restore; gevent could be updated to use them. Anyway you should use the cffi version of gevent, as descr

[pypy-issue] [issue1476] apparent regression in import in py2.0 b2

2013-05-08 Thread Ian Delaney
Ian Delaney added the comment: With the change in builtin cffi in pypy2.0 b2 from https://bitbucket.org/cffi/cffi/issue/81/exported-variables-are-not-listed-in-dir I get testuser@archtester ~/Downloads/lxml-cffi-3.0.2 $ time PYTHONPATH=src nosetests-pypy-c2.0 ./src/lxml/tests E

[pypy-issue] [issue1476] apparent regression in import in py2.0 b2

2013-05-08 Thread Amaury Forgeot d Arc
Amaury Forgeot d Arc added the comment: Can we move this discussion elsewhere? This is not a PyPy issue, but a lxml-cffi one. https://github.com/amauryfa/lxml/issues PyPy bug tracker

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

2013-05-08 Thread Ian Delaney
Ian Delaney added the comment: hmm right. on it thanks PyPy bug tracker ___ pypy-issue mailing list pypy-issue@python.org http://mail.

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

2013-05-08 Thread Fijal
Fijal added the comment: There is really no way you can get gevent working this way. I suggest looking at pypycore + pypy-hacks branch of gevent https://github.com/gevent-on-pypy/pypycore https://github.com/schmir/gevent/tree/pypy-hacks it's not finished, but it's a start -- nosy:

[pypy-issue] [issue1481] complie error :" src/handle.c:20:5: error: ‘_Py_DEC_REFTOTAL’ undeclared (first use in this function)" when use pip install pyuv

2013-05-08 Thread tanguofu
New submission from tanguofu : Installing collected packages: pyuv Running setup.py install for pyuv libuv needs to be compiled. Building libuv... building 'pyuv' extension cc -fPIC -Wimplicit -DMODULE_VERSION=0.10.3 -DLIBUV_REVISION=9b801d5 -I/home/tanguofu/pypy/include -Ideps/

[pypy-issue] [issue1481] complie error :" src/handle.c:20:5: error: ‘_Py_DEC_REFTOTAL’ undeclared (first use in this function)" when use pip install pyuv

2013-05-08 Thread Amaury Forgeot d Arc
Amaury Forgeot d Arc added the comment: You could try to #define _Py_DEC_REFTOTAL Or completely remove the line; it's only for statistics in debug builds (sys.gettotalrefcount). This said, this 'resurrect object' function which plays with reference counts is deeply incompatible with PyPy a

[pypy-issue] [issue1482] Fatal RPython error

2013-05-08 Thread sn6uv
New submission from sn6uv <16sn...@gmail.com>: Raised when running the Sympy tests (specifically sympy/geometry/tests/test_geometry.py). Here's the traceback for PyPy 2.0.0-beta2 (line numbers differ slightly for the nightly): sympy/geometry/tests/test_geometry.py[20] ..f.RPython

[pypy-issue] [issue1482] Fatal RPython error

2013-05-08 Thread Alex Gaynor
Alex Gaynor added the comment: Are you sure --jit off is correcly being applied to the proecss you're running? It should be totally impossibly for this to occur with --jit off. All that said this appears to be because getlength() is called on something that's not a virtual array class, my f