We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Follow up for #720 where NameErrors and SIGSEGVs were found. The error can be observed with two tests running in parallel (might need a few tries):
#[test] fn test_release_race1() { let gil = Python::acquire_gil(); let py = gil.python(); println!("make ob1"); let ob1 = py.eval("object()", None, None).unwrap(); py.import("datetime").unwrap(); py_run!(py, ob1, "print('ob1' + str(ob1))"); } #[test] fn test_release_race2() { let gil = Python::acquire_gil(); let py = gil.python(); println!("make ob2"); let ob2 = py.eval("object()", None, None).unwrap(); py.import("datetime").unwrap(); py_run!(py, ob2, "print('ob2' + str(ob2))"); }
What might be happening is:
The text was updated successfully, but these errors were encountered:
Now that #887 is merged we should have resolved the thread safety issues here 🎉
Sorry, something went wrong.
No branches or pull requests
Follow up for #720 where NameErrors and SIGSEGVs were found. The error can be observed with two tests running in parallel (might need a few tries):
What might be happening is:
The text was updated successfully, but these errors were encountered: