Comments (2)
This is deliberate, though the docs don't necessarily make it super clear. If it's not in the list in the docs then PyO3 doesn't need to do anything special with it and Python will handle it fine anyway.
from pyo3.
This is deliberate, though the docs don't necessarily make it super clear. If it's not in the list in the docs then PyO3 doesn't need to do anything special with it and Python will handle it fine anyway.
Ahh, I see I see, I was confused because I (incorrectly) believed that PyO3 needs to deliberately support each magic method for them to work. Glad to hear that's not the case!
from pyo3.
Related Issues (20)
- `valgrind` CI job detects an error on 3.12.5 HOT 1
- ENH: boiler plate code for `PyPickle` to support Enums and multithreaded pools HOT 3
- Using Python from Rust - Basic example in README fails HOT 2
- Do not implement `BoundObject` for `&Bound` HOT 5
- #[new] can silently fail when arguments to the function can't be constructed HOT 4
- Trait Bound Documentation without `GILPool` HOT 5
- Fast paths of common methods assume no builtin subclassing HOT 2
- send PyErr through channel will cause dead lock HOT 2
- pyo3-error crate HOT 2
- Async pymethods returning result breaks "new" initializer method HOT 3
- Bad error message when using incorrect signature for some dunder methods
- Add conversion support for the jiff datetime library HOT 1
- Make `GILOnceCell<Py<PyType>>`'s `get_or_try_init_type_ref` public HOT 4
- Plugin example does not compile HOT 1
- Build Failure: pyo3-ffi v0.20.3 - SOABI not found in sysconfigdata file HOT 3
- test_compile_errors fails on Rust 1.81.0
- Running Python in Rust example in README errors HOT 3
- `PyAnyMethods::iter()` is a footgun, should be called `try_iter()` HOT 3
- `PyObjectInit` should be private (and sealed)
- 0.23 Release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyo3.