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 be9b651 commit 57349c3Copy full SHA for 57349c3
newsfragments/5121.changed.md
@@ -1 +1,2 @@
1
Enable vectorcall methods on GraalPy
2
+Call Py_Is function on GraalPy
pyo3-ffi/src/object.rs
@@ -147,13 +147,13 @@ pub struct PyVarObject {
147
// skipped private _PyVarObject_CAST
148
149
#[inline]
150
-#[cfg(not(all(PyPy, Py_3_10)))]
+#[cfg(not(any(GraalPy, all(PyPy, Py_3_10))))]
151
#[cfg_attr(docsrs, doc(cfg(all())))]
152
pub unsafe fn Py_Is(x: *mut PyObject, y: *mut PyObject) -> c_int {
153
(x == y).into()
154
}
155
156
-#[cfg(all(PyPy, Py_3_10))]
+#[cfg(any(GraalPy, all(PyPy, Py_3_10)))]
157
158
extern "C" {
159
#[cfg_attr(PyPy, link_name = "PyPy_Is")]
0 commit comments