pyo3 icon indicating copy to clipboard operation
pyo3 copied to clipboard

Rust bindings for the Python interpreter

Results 514 pyo3 issues
Sort by recently updated
recently updated
newest added

Having written this fairly innocent comment in #863: > I've been wondering what happens if we renamed `PyObject` to just `Object` - I don't think the `Py` is particularly interesting...

help-wanted
refactoring
needs-design
1.0-must

As of right now its not possible to pickle classes created by PyO3. This feature would be invaluable for situations where some form of persistence would be desireable. As of...

needs-design

It seems confusing to me to have two different attributes, `#[pyfunction]` and `#[pyfn]`, which both wrap Rust functions to create python functions. Pyo3 users need to know which applies in...

needs-design
1.0-candidate

apparently it works by setting the `ob_type` member to a custom instance (the metaclass) of a class that derives from `type`.

needs-design

At the moment, as #1088 notes (and also #1085), it's difficult to expose things like iterators to Python because of the restriction that `#[pyclass]` cannot take a lifetime. This restriction...

hard
needs-design
1.0-candidate

A user asked a question on Gitter just now about extending a Python class from Rust. While I think it's possible to do this by hand with a lot of...

needs-design
1.0-candidate

Currently unsupported, because it depends on the base type layout. There should be ways to achieve this.

needs-implementer
1.0-candidate

Is it possible to return different sub-classes from a function? In Rust I have an enum containing data ```rust pub enum Frame { Type, TypeResponse(u8, Version, u8), Ping(u8), Pong(u8), }...

confusing-api
needs-design
1.0-candidate

This issue is about sub classing with overridden __init__ ; This bug prevents it. Details below. ## 🐛 Bug Reports When reporting a bug, please provide the following information. If...

documentation
confusing-api
needs-design
1.0-candidate

Right now it is impossible to ```rust #[pyclass(extends=PyTuple)] struct Bla { // ... } ``` I'd like to do that to get a rust namedtuple like class. What would that...

1.0-candidate