Nathan Goldbaum
Nathan Goldbaum
Moves the existing content on free-threading in the migration guide into its own page. Also adds some new content about things we know are going to be issues for some...
Ref https://github.com/PyO3/pyo3/pull/4504#discussion_r1739869142 and #4265. * Fixes a spelling error in the PyMutex bindings (oops!) * Adds `pyo3_ffi::PyMutex::new()` to allow pyo3 (and users?) to construct PyMutex instances. * Adds a PyMutex...
See https://github.com/PyO3/pyo3/pull/4439 and https://github.com/PyO3/pyo3/pull/4539 for context. pyo3 follows Python's behavior for multithreaded dict and list iteration and allows race conditions (see my experiment here: https://github.com/PyO3/pyo3/pull/4539#discussion_r1763722120). Unfortunately as a consequence in...
### Describe the issue: For both signed and unsigned integers the default fill value is 99999, while for floats it is 1e20. This is problematic for (u)int[8,16] as well as...
This adds testing on MacOS for free-threaded Python and streamlines the linux tests. In both cases I'm using [`setup-uv`](https://github.com/astral-sh/setup-uv) to get python. It turns out to be trivial to replace...
At runtime, when the first argument is of `dtype[str_]` and `StringDType` dtype, the second argument can (also) be a native `str`, a (nested) sequence of `str`, or any other `np.str_`...
See https://github.com/tonybaloney/pytest-freethreaded/issues/9 where this was discovered and for steps to reproduce. Ultimately this comes down to the thread safety warnings in the freetype docs for `FT_Face`: https://freetype.org/freetype2/docs/reference/ft2-face_creation.html#ft_face. Somehow an `FT_Face`...
I'm looking at using rust-numpy with the free-threaded Python build and it looks like the first blocker is 0.23 support. The error I hit out of the box after pointing...
### Feature request Right now safetensors supports the free-threaded build in principle because it uses PyO3 0.23, but doesn't explicitly declare support. This means if you install it on the...
It looks like you've already updated to PyO3 0.23, so all that's left is adding CI on the free-threaded interpreter, adding testing for thread safety, and fixing any issues that...