How to ignore the annoying Cython warnings in PyPy 6.0
Originally published on the PyPy blog.
If you install any Cython-based module in PyPy 6.0.0, it is very likely that you get a warning like this:
>>>> import numpy
/data/extra/pypy/6.0.0/site-packages/numpy/random/__init__.py:99: UserWarning: __builtin__.type size changed, may indicate binary incompatibility. Expected 888, got 408
from .mtrand import *
$ pypy -m pip install pypy-fix-cython-warning
.pth
file which installs a warning filter at startup.Technical details
PyType_Type
. PyPy versions up to 5.10 are buggy and report the incorrect size, so Cython includes a workaround to compare it with the incorrect value, when on PyPy.PyType_Type
reports the correct size; however, Cython still tries to compare it with the old, buggy value, so it (wrongly) emits the warning.numpy-1.14.2.zip
include C files which were generated by Cython 0.26.1: if you compile it you still get the warning, even if you locally installed a newer version of Cython.
How to make your code 80 times faster
Originally published on the PyPy blog.
(Cape of) Good Hope for PyPy
Originally published on the PyPy blog.
Binary wheels for PyPy
Originally published on the PyPy blog.
Hi,
this is a short blog post, just to announce the existence of this Github repository, which contains binary PyPy wheels for some selected packages. The availability of binary wheels means that you can install the packages much more quickly, without having to wait for compilation.
Py3k status update #6
Originally published on the PyPy blog.
This is the sixth status update about our work on the py3k branch, which we
can work on thanks to all of the people who donated to the py3k proposal.
Py3k status update #5
Originally published on the PyPy blog.
This is the fifth status update about our work on the py3k branch, which we
can work on thanks to all of the people who donated to the py3k proposal.
Py3k status update #4
Originally published on the PyPy blog.
This is the fourth status update about our work on the py3k branch, which we
can work on thanks to all of the people who donated to the py3k proposal.
Py3k status update #3
Originally published on the PyPy blog.
Py3k status update #2
Originally published on the PyPy blog.
This is the second status update about my work on the py3k branch, which I can work on thanks to all of the people who donated to the py3k proposal.
Py3k status update
Originally published on the PyPy blog.