
Hello, first question: is the PyPy Ubuntu PPA still a maintained thing? I'm not demanding free labor here, just curious whether I should wait a little for 5.0 to show up there or change my Dockerfiles to direct download. second question: does PyPy support PyByteArray_CheckExact? I seem to have some Cython-generated code using it and PyPy seems to be refusing to import the resulting module. Cheers!

PPA is usually updated, but as you said we can't demand deadlines PyByteArray_Check and PyByteArray_CheckExact are not implemented On Mon, Mar 21, 2016 at 3:43 AM, Tin Tvrtković <tinchester@gmail.com> wrote:
Hello,
first question: is the PyPy Ubuntu PPA still a maintained thing? I'm not demanding free labor here, just curious whether I should wait a little for 5.0 to show up there or change my Dockerfiles to direct download.
second question: does PyPy support PyByteArray_CheckExact? I seem to have some Cython-generated code using it and PyPy seems to be refusing to import the resulting module.
Cheers!
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Thanks for the quick reply (as always). We'll stick with the PPA. About PyByteArray_CheckExact, any chance of it getting implemented in this next round of C-API extensions? Looking in the CPython source, it seems to be a one-line macro: #define PyByteArray_CheckExact(self) (Py_TYPE(self) == &PyByteArray_Type) but I admit to knowing basically nothing about this level of code. :) I figure asking here whether it can be implemented will be better than asking Cython to stop using it ;) Cheers! On Mon, Mar 21, 2016 at 8:53 AM, Maciej Fijalkowski <fijall@gmail.com> wrote:
PPA is usually updated, but as you said we can't demand deadlines
PyByteArray_Check and PyByteArray_CheckExact are not implemented
On Mon, Mar 21, 2016 at 3:43 AM, Tin Tvrtković <tinchester@gmail.com> wrote:
Hello,
first question: is the PyPy Ubuntu PPA still a maintained thing? I'm not demanding free labor here, just curious whether I should wait a little for 5.0 to show up there or change my Dockerfiles to direct download.
second question: does PyPy support PyByteArray_CheckExact? I seem to have some Cython-generated code using it and PyPy seems to be refusing to import the resulting module.
Cheers!
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

On 21/03/16 11:42, Tin Tvrtković wrote:
Thanks for the quick reply (as always).
We'll stick with the PPA.
About PyByteArray_CheckExact, any chance of it getting implemented in this next round of C-API extensions? Looking in the CPython source, it seems to be a one-line macro:
#define PyByteArray_CheckExact(self) (Py_TYPE(self) == &PyByteArray_Type)
but I admit to knowing basically nothing about this level of code. :) I figure asking here whether it can be implemented will be better than asking Cython to stop using it ;)
Cheers!
mailing list
> pypy-dev@python.org <mailto:pypy-dev@python.org> > https://mail.python.org/mailman/listinfo/pypy-dev >
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev While true, that would only get you to the next step, which is that much of the functionality of PyByteArray_Type is not implemented. See for instance the functions in cpyext/stubs.py or commit 16f119c9be67 which added a failing test for PyArg_ParseTuple, s*, and ByteArrays. If we were to push the CheckExact forward, what functionality is critical for cython to completely compile your module? Matti
participants (3)
-
Maciej Fijalkowski
-
Matti Picus
-
Tin Tvrtković