Skip to content
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

Send #154

Open
yutannihilation opened this issue Apr 3, 2024 · 0 comments
Open

Send #154

yutannihilation opened this issue Apr 3, 2024 · 0 comments

Comments

@yutannihilation
Copy link
Owner

PyO3 says this. Is this also the case with R?

Because Python objects are freely shared between threads by the Python interpreter, there is no guarantee which thread will eventually drop the object. Therefore all types annotated with #[pyclass] must implement Send (unless annotated with #[pyclass(unsendable)]
https://pyo3.rs/v0.20.0/class.html#must-be-send

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant