[Numpy-discussion] Re: Support for Multiple Interpreters (Subinterpreters) in numpy

2022-08-24 Thread Petr Viktorin
On 23. 08. 22 16:19, Sebastian Berg wrote: On Tue, 2022-08-23 at 14:00 +0200, Petr Viktorin wrote: On 23. 08. 22 11:46, Sebastian Berg wrote: [snip] One thing that I am not clear about are e.g. creation functions. They are public C-API so they have no way of getting a "self" or t

[Numpy-discussion] Re: Support for Multiple Interpreters (Subinterpreters) in numpy

2022-08-23 Thread Petr Viktorin
On 23. 08. 22 11:46, Sebastian Berg wrote: On Tue, 2022-08-23 at 03:16 +0300, Matti Picus wrote: On 22/8/22 18:59, Eric Snow wrote: Hi all, devs than just me.  Do you have any preference for or against any particular venue? Thanks! -eric ___

[Numpy-discussion] Re: Support for Multiple Interpreters (Subinterpreters) in numpy

2022-08-23 Thread Petr Viktorin
On 23. 08. 22 10:02, Matti Picus wrote: On 23/8/22 03:16, Matti Picus wrote: ... One thing CPython could do is to provide clear documentation how to port a small c-extension module [1] Matti [1] https://github.com/python/cpython/issues/79601 I should have searched the documentation,

[Numpy-discussion] Re: Importing Numpy when using libpython

2022-06-09 Thread Petr Viktorin
On 09. 06. 22 10:35, Matthew Brett wrote: Hi, On Wed, Jun 8, 2022 at 7:34 PM wrote: Hi All, Hope this is the right forum. I am working on using Numpy from the programming language Racket. My plan of attack is to use Python via `libpython`. That is, from Racket I use `ffilib` to load `libpy

Re: [Numpy-discussion] Attribute hiding APIs for PyArrayObject

2018-10-31 Thread Petr Viktorin
On 10/31/18 03:33, Nathaniel Smith wrote: It's probably helpful to know that Py_LIMITED_API is a kinda-experimental thing that was added in CPython 3.2 (see PEP 384) and remains almost 100% unused. It has never been a popular or influential thing (for better or worse). Py_LIMITED_API is not ver

Re: [Numpy-discussion] Proposal of timeline for dropping Python 2.7 support

2017-11-09 Thread Petr Viktorin
On 11/09/2017 12:15 AM, Nathaniel Smith wrote: On Nov 8, 2017 16:51, "Matthew Brett" > wrote: Hi, On Wed, Nov 8, 2017 at 7:08 PM, Julian Taylor mailto:jtaylor.deb...@googlemail.com>> wrote: > On 06.11.2017 11:10, Ralf Gommers wrote: >>