PyO3 / pyo3

Rust bindings for the Python interpreter
https://pyo3.rs
Other
11.44k stars 693 forks source link

Tracking issue for no-gil/freethreaded work #4265

Open alex opened 1 week ago

alex commented 1 week ago

We didn't have a dedicated issue for this, so now there's one.

TODO:

ngoldbaum commented 11 hours ago

As a tiny piece of this and to try to learn the library better, I'm working on adding wrappers for the new GetItemRef C API functions in the 3.13 stable API. These are needed to be fully safe for free-threaded python and are nice to have anyway on older versions because strong references are easier to reason about.