We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba8f31 commit a4c35ceCopy full SHA for a4c35ce
newsfragments/5180.fixed.md
@@ -0,0 +1 @@
1
+Fixed segmentation faults on 32-bit ix86 with Python 3.14
pyo3-ffi/src/object.rs
@@ -49,7 +49,7 @@ pub struct PyObjectObFlagsAndRefcnt {
49
pub union PyObjectObRefcnt {
50
#[cfg(all(target_pointer_width = "64", Py_3_14))]
51
pub ob_refcnt_full: crate::PY_INT64_T,
52
- #[cfg(Py_3_14)]
+ #[cfg(all(target_pointer_width = "64", Py_3_14))]
53
pub refcnt_and_flags: PyObjectObFlagsAndRefcnt,
54
pub ob_refcnt: Py_ssize_t,
55
#[cfg(all(target_pointer_width = "64", not(Py_3_14)))]
0 commit comments