David Hewitt
David Hewitt
Should cut the benchmarks job time by ~5 minutes (as well as reduce the build cache size).
See #3557 - it looks like we automatically implement ordering but not hashing for C-style `#[pyclass]` enums. This is almost certainly an oversight. One straightforward option is to just add...
Users may appreciate a document comparing PyO3 against approaches like uniFFI and cffi, and maybe even Cython and pybind11. (This would focus on the extension module case, we could do...
This is an idea born out of a conversation I had earlier today at EuroRust. Rust has a lot of success in the embedded space. There is also MicroPython to...
Logo
I was just thinking the other day that it could be nice to have a proper logo created for PyO3! If other maintainers also agree, then the only question is......
[PEP 688](https://peps.python.org/pep-0688/#python-level-buffer-protocol) defines new methods `__buffer__` and `__release_buffer__` with signatures as follows: ```python def __buffer__(self, flags: int, /) -> memoryview: ... def __release_buffer__(self, buffer: memoryview, /) -> None: ... ```...
PEP 683's "immortal objects" changed the meaning of reference counts; immortal objects have a fixed refcount value which never changes. Further, the PEP [states](https://peps.python.org/pep-0683/#documentation): > Py_REFCNT() - add “The refcounts...
From https://github.com/sphinx-doc/sphinx/issues/11662#issuecomment-1702462095 > To be cheeky, could I ask if there is there a 'blessed' way to introspect if a module is PyO3 generated? It seems the variables mod.build_profile and...
After #3358 these are the remaining uses of `AsPyPointer`: - [ ] `Py::is` - [ ] `PyAny::is` - [ ] `PyVisit::call` - [ ] `impl FromPyObject for Py` #3358 holds...
In `pydantic-core` we have been building with PGO for x86_64 Windows and Ubuntu for some time, and we're now also looking at GitHub's new M1 runners to run PGO optimization...