Comments (3)
@adamreichold, I don't think so. The example I give above does not call Rust functions except when importing the module. I am pretty sure Rust code is not executing in the main thread when the for loop with sleeps are run.
from pyo3.
This may be a bug on the IPython side. Just posting it here in case someone spot something.
from pyo3.
Are you sure this is not an instance of https://pyo3.rs/v0.21.2/faq#ctrl-c-doesnt-do-anything-while-my-rust-code-is-executing?
from pyo3.
Related Issues (20)
- python ld flags not detected... HOT 6
- Declarative modules don't set item's module properly HOT 2
- Unable to mutate nested class values in python HOT 3
- build issue: Generated module PyInit releases GIL, then crashes [solved] HOT 4
- pyo3-0.20.2 fails to build on systems without AtomicI64 HOT 2
- `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??
- cargo test --workspace fails with linker errors HOT 2
- 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
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.