Hi again,

On Wed, 23 Oct 2019 at 16:32, Armin Rigo <armin.r...@gmail.com> wrote:
> (...)  In
> other words we should not update it for cffi modules (which is
> unlikely to ever change, and I can check but I think the same .so
> works for pypy2 and pypy3, so maybe a version number is not needed at
> all);

Yes, I think that's the case.  The .so for cffi should be almost
entirely the same on pypy2 and pypy3, with one minor difference that
turns out not to matter.  (The module exports a function
_cffi_pypyinit__foo() that is declared to return void on pypy2, but
"PyObject *" on pypy3---where it returns NULL and the actual return
value is never checked.  We do it that way because we're reusing the
convenient macro PyMODINIT_FUNC from Python.h.)


A bientôt,

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

Reply via email to