Open alex opened 1 week 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.
We didn't have a dedicated issue for this, so now there's one.
TODO:
cfg
for no-gil, but only allowed behind an experimental featurePython<'_>
indicates only a single thread is executing:pyo3::sync::GILOnceCell
PyClassBorrowChecker