-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unsafe code warn causes: "implementation of an unsafe
trait"
#4394
Labels
Comments
I can replicate this. Looking into a fix. |
LilyFoote
added a commit
to LilyFoote/pyo3
that referenced
this issue
Jul 30, 2024
LilyFoote
added a commit
to LilyFoote/pyo3
that referenced
this issue
Jul 30, 2024
LilyFoote
added a commit
to LilyFoote/pyo3
that referenced
this issue
Jul 30, 2024
LilyFoote
added a commit
to LilyFoote/pyo3
that referenced
this issue
Jul 30, 2024
davidhewitt
pushed a commit
that referenced
this issue
Sep 3, 2024
davidhewitt
pushed a commit
that referenced
this issue
Sep 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
When trying to update to pyo3 0.22 in astral-sh/uv#5590, i get the errors
implementation of an unsafe trait
andusage of an unsafe block
, even though i don't use any unsafe in my code.pyo3 should place appropriate annotations on generated code
Steps to Reproduce
cargo check
:Backtrace
No response
Your operating system and version
Ubuntu 24.04
Your Python version (
python --version
)Python 3.12.3
Your Rust version (
rustc --version
)rustc 1.80.0 (051478957 2024-07-21)
Your PyO3 version
0.22
How did you install python? Did you use a virtualenv?
pyenv opt build
Additional Info
No response
The text was updated successfully, but these errors were encountered: