Joseph Perez

Results 50 issues of Joseph Perez

`StreamDeserializer::bytes_offset` can be used to get the slice of a deserialized JSON, however, it can't be used with the iterator interface, and iteration has to be done manually using `Iterator::next`...

Currently, `AtomicWaker::take` does a lot of work for nothing when there is no registered waker. It causes performance issue in a contended environment where the function is called a lot....

A-task

Hi, I've quickly announced at the Scylla Summit 2023 that I wrote recently on a new Scylla Rust driver : https://github.com/wyfo/scylla2 – I explain in the README the reason and...

I wanted to use `loom::cell::UnsafeCell` in my project, but i could not, because the *loom* implementation is not `repr(transparent)`, as it stores an additional state. Would it be possible to...

Everything is in the title. Currently, `#[pyo3(from_py_with)]` is just ignored for dunder methods like `__eq__` in my case, you can even write fake function name, it has not effect at...

Using this code ```rust use pyo3::prelude::*; #[pymodule] mod my_extension { #[pymodule] mod submodule { #[pyfunction] fn foo() {} } } ``` `my_extension.submodule.foo.__module__` returns `submodule` instead of `my_extension.submodule`, as it would...

With ` #[cfg(not(any(Py_LIMITED_API, PyPy)))]`, `Borrowed::name` implementation delegates to `tp_name`. However, [`tp_name` is not consistent](https://peps.python.org/pep-0737/#using-pytypeobject-tp-name-is-inconsistent-with-python). For pure Python types `Borrowed::name` returns different result if compiled with or without `abi3` feature. Solution...

Fixes #967 I've only added `#[derive(Debug)]` where it does compile, and `// TODO` for the other types.

new feature