[Cython] Düsseldorf HPy/PyPy/GraalPy sprint September 19-23rd 2022

2022-08-04 Thread Matti Picus
There will be a sprint in Düsseldorf Sept 19 - 23. The sprint is open to anyone. The announcement on the HPy blog https://hpyproject.org/blog/posts/2022/07/dusseldorf-sprint-2022/ The announcement on the PyPy blog with pointers about

Re: [Cython] Welcome David Woods as a Cython core developer

2022-07-31 Thread Matti Picus
As someone watching from the sidelines, it is nice to see the Cython team grow, especially with such a talented and committed contributor. Matti On 31/7/22 12:15, Stefan Behnel wrote: Hi everyone, with the release of the first 3.0 alpha that supports Python 3.11 (aptly named "alpha 11"), I'

[Cython] How best to contribute

2021-02-26 Thread Matti Picus
Hi. I would like to start contributing in a meaningful way to Cython on the order of ~1 day a week, within the framework of the time allocated to me from my employer (Quansight Labs) toward open source contributions. Over time, my goal is push for an HPy[0] backend for Cython, but I also want

Re: [Cython] Mitigating perfomance impact of NumPy API change

2018-09-28 Thread Matti Picus
On 28/09/18 10:25, Matti Picus wrote: Breaking this into a number of sub-dsicussions, since we seem to be branching. The original topic was Re: [Cython] Enhancing "ctyepdef class numpy.ndarray" with getter properties On 28/09/18 01:20, Robert Bradshaw wrote: Hmm...so in th

Re: [Cython] Enhancing "ctyepdef class numpy.ndarray" with getter properties

2018-09-28 Thread Matti Picus
On 28/09/18 01:20, Robert Bradshaw wrote: On Thu, Sep 27, 2018 at 11:36 PM Matti Picus <mailto:matti.pi...@gmail.com>> wrote: The problem is that when one reads     cdef int aaa there's no indication as to the meaning of this. We also want to be sure to disallow this syn

[Cython] Mitigating perfomance impact of NumPy API change

2018-09-28 Thread Matti Picus
Breaking this into a number of sub-dsicussions, since we seem to be branching. The original topic was Re: [Cython] Enhancing "ctyepdef class numpy.ndarray" with getter properties On 28/09/18 01:20, Robert Bradshaw wrote: Hmm...so in this case it upgrading Cython would cause an unconditional

Re: [Cython] Enhancing "ctyepdef class numpy.ndarray" with getter properties

2018-09-27 Thread Matti Picus
On 27/09/18 22:50, Robert Bradshaw wrote: On Thu, Sep 27, 2018 at 10:38 AM Matti Picus mailto:matti.pi...@gmail.com>> wrote: To solve issue #2498, I did some experiments https://github.com/cython/cython/issues/2498#issuecomment-414543549 with hiding direct field

[Cython] Enhancing "ctyepdef class numpy.ndarray" with getter properties

2018-09-27 Thread Matti Picus
To solve issue #2498, I did some experiments https://github.com/cython/cython/issues/2498#issuecomment-414543549 with hiding direct field access in an external extension type (documented here https://cython.readthedocs.io/en/latest/src/userguide/extension_types.html#external-extension-types).

Re: [Cython] trying to understand why PyString_GET_SIZE cannot be cimport-ed

2017-01-07 Thread Matti Picus
On 07/01/17 19:25, Matti Picus wrote: I am working on a branch of PyPy 2.7 to support Pandas (default PyPy is missing some CAPI support that enables the parts of cython used in Pandas). Pandas code has these lines (in lib.pyx) try: from cpython cimport PyString_GET_SIZE except

[Cython] trying to understand why PyString_GET_SIZE cannot be cimport-ed

2017-01-07 Thread Matti Picus
I am working on a branch of PyPy 2.7 to support Pandas (default PyPy is missing some CAPI support that enables the parts of cython used in Pandas). Pandas code has these lines (in lib.pyx) try: from cpython cimport PyString_GET_SIZE except ImportError: from cpython cimport PyUnicode_GET_

[Cython] Cython and PyPy

2016-11-24 Thread Matti Picus
I am trying to get cython to work better with PyPy. I am sort of documenting my progress and failures at https://bitbucket.org/pypy/pypy/wiki/edit/cpyext_2_-_cython So far I can run the test suite on a nightly PyPy2 http://buildbot.pypy.org/nightly/trunk, but only w