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

### Bug Description I would like pyo3 to use the `.venv` I've created in my python library, when calling functions from that library from rust. - but it ignores the...

Hey I'm working on implementing streaming functionality for Polars on top of some extensions to DataFusion. For this purpose I added streaming support for AnonymousScan in Polars: ```rust pub struct...

### Bug Description When using pyo3 inside VSCode with rust-analyzer, rust-analyzer fails to compile the proc macros. See the attacked image. ![Image](https://github.com/user-attachments/assets/768e4069-30d3-4632-8caf-b57919e43572) ### Steps to Reproduce 1. Create a new...

bug

I noticed that virtualenv creation is a slow part of the CI jobs (e.g. for `graalpy`), I was curious if running with uv is any better...

CI-skip-changelog
CI-build-full

Apple introduced a new feature in Mach-O binaries called fixup chains. Our current introspection code does not support it. By default cargo does not make use of it for any...

enhancement

Added rust types for Python [context variables](https://docs.python.org/3/library/contextvars.html) (`Context`, `ContextVar`, `Token`)

This is the most minimal diff I could write which removes the storage of "lazy" errors inside `PyErr` and instead eagerly creates Python exceptions at the point of `PyErr` creation....

CI-build-full

### Bug Description When a `pyclass`'s `new` function returns `PyResult`, subclasses defined in python do not run their `__init__` functions. ### Steps to Reproduce Write the base class in rust:...

bug

fastexcel uses this warn macro [here](https://github.com/ToucanToco/fastexcel/blob/4d21013b1f97a7c5d143c57921765b80251fe1c1/src/types/dtype.rs#L303) Over on the python side I want to suppress that through ```python from warnings import catch_warnings, simplefilter with catch_warnings(): simplefilter("ignore") read_excel(file_path).load_sheet(0) ``` but the...

enhancement