We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db26fd commit e2947e1Copy full SHA for e2947e1
1 file changed
src/err/err_state.rs
@@ -1,6 +1,8 @@
1
// TODO https://github.com/PyO3/pyo3/issues/5487
2
#![allow(clippy::undocumented_unsafe_blocks)]
3
4
+#[cfg(not(Py_3_12))]
5
+use crate::platform::sync::non_poison::Mutex;
6
use crate::platform::sync::Once;
7
use core::cell::{Cell, UnsafeCell};
8
use std::thread::ThreadId;
0 commit comments