Comments (2)
Hi, thanks for the report. Your analysis that this is a bug, and the proposed fix, looks correct to me! A PR would be greatly appreciated 🙏
from pyo3.
Thank you for your confirmation. I will come up with a fix recently.
from pyo3.
Related Issues (20)
- `Drop` trait never called on exit HOT 1
- `PyObject_CallOneArg()` usage triggers assert HOT 1
- non-local `impl` definition, they should be avoided as they go against expectation HOT 2
- segmentation fault second run of rust function in python pyo3 0.21.2 HOT 24
- Default values in enum struct-variants HOT 4
- Set custom path with `run_code` HOT 1
- `#[pyo3(from_py_with)]` is ignored in dunder methods (`__eq__`, etc.) HOT 1
- Incorrect configuration exclusions for Windows Py>3.10??
- IPython ignores Control + C after loading Rust module built with PyO3/Maturin HOT 3
- cargo test --workspace fails with linker errors
- Tuple from iterable
- Add trait for cloning while the GIL is held HOT 2
- pyo3 fails to build on systems without AtomicI64 HOT 7
- libpython not loaded under Anaconda HOT 2
- Replace &'a Ident with Cow in FnArg Enum
- Optional argument is detected in `linux`/`windows` but not in `macos` HOT 3
- Segmentation fault and misaligned pointer dereference with Rayon HOT 1
- intern macro name is not very descriptive HOT 1
- Missing `__init_subclass__` and `__set_name__` magic methods in the user guide HOT 2
- [Feature request] Directly expose tp_bases, tp_mro, and tp_subclasses on PyType in high-level API
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.