Nathan Goldbaum

Results 755 comments of Nathan Goldbaum

There's a Cython nightly wheel if you want to get started on this now: https://anaconda.org/scientific-python-nightly-wheels/cython

It would also be neat to check the Cython 3.1 alpha release or Cython's master branch against free-threaded 3.13. See https://py-free-threading.github.io for more info about supporting free-threaded Python in native...

I think it's always worked this way, at least back in NumPy 1.16 on Python 2.7 I get the same error anyway. That said, it seems fair to let this...

Ah, missed the edit at the bottom. The copy changing the dtype is happening because of this code: https://github.com/numpy/numpy/blob/37b3c3c2e0ebf4c018d92029bca0a0b2050634c1/numpy/_core/src/multiarray/ctors.c#L706-L718 I think maybe you found a corner case in the implementation...

Are you talking about the Swift Python bindings? https://github.com/pvieito/PythonKit If so: yes, probably, but someone with Swift expertise is likely going to be needed to help out.

So, careful, we don’t want to wholesale replace API usages. Sometimes we intentionally create borrowed references. Any usages where in the same region of code we first create a borrowed...

I think the remaining issue on this task is to add a linter to NumPy's CI to check PRs for new uses of possibly problematic C API items. We should...

As of May 2025, seems to build successfully: ``` goldbaum at Nathans-MacBook-Pro in ~/Documents/ ± pip install rapidfuzz Collecting rapidfuzz Downloading rapidfuzz-3.13.0.tar.gz (57.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.9/57.9 MB 1.3 MB/s eta...

> Lazy pandas init For this you're going to need to use a single-initialization API. We had to do something similar [over in ndindex](https://github.com/Quansight-Labs/ndindex/blob/e3934546a8042d394b3f05f8aa6bc6f917669c51/ndindex/_tuple.pyx#L76-L89). IMO this pattern should be documented...

Ugh, sorry other random person 🙃