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

If I understand correctly the exact layout is not required anymore for defining `PyTypeInfo`. Would it be possible to have an `import_class!` macro similar to `import_exception!`?

needs-design

Since we're using Rust here, couldn't we make the raw ffi API functions a little safer by having a transparent wrapper type for new reference return values of type `*mut...

needs-design

`raw-dylib` feature is going to be stabilized soon for most supported Windows architectures: https://github.com/rust-lang/rust/pull/104218

FFI

I want to optionally allow python plugins for my project. It would be nice if PyO3 could be configured such that python isn't linked at compile time and instead the...

hard

Thanks for this great package! 👏 I'm implementing dynamic generated heap class with pyo3 in rust for an ORM. Assign a PythonCFunction to a class won't make it behave like...

Both `anyhow::Error` and `eyre::Report` are for dynamic error handling, I think it's feasible to make some improvements: - Unwrap inner error, if it's containing a `PyErr` (However extra information should...

In #2899, we temporarily introduced support for handling any Python object implementing the buffer protocol via `impl FromPyObject` in 228cfd009c0fd35b7b3c199e67d56d3ff404ba8e. We decided to remove this as it would only be...

blocked
performance

I just had this really weird bug, where no matter which Rust String I wanted to use in Python always raised this error when trying to print or convert the...

## Description I'd like for non-`extension-module` builds to be able to use newer Python interpreters, similar to how the `ab3` feature set works. However, the feature description says it's "used...

At the moment our proc-macros are implemented such that they return on the first error they encounter. I think in some cases it should be possible to collect multiple errors...