Disable Pair reference pyo3 conversions to avoid compiler bugs dev

Fri, 05 Sep 2025 13:30:53 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Fri, 05 Sep 2025 13:30:53 -0500
branch
dev
changeset 182
71fa6d3df947
parent 181
f159287bc191
child 183
d077dff509f1

Disable Pair reference pyo3 conversions to avoid compiler bugs

src/direct_product.rs file | annotate | diff | comparison | revisions
--- a/src/direct_product.rs	Fri Sep 05 01:09:21 2025 -0500
+++ b/src/direct_product.rs	Fri Sep 05 13:30:53 2025 -0500
@@ -619,6 +619,7 @@
         }
     }
 
+    /*
     impl<'a, 'py, A, B> IntoPyObject<'py> for &'a mut Pair<A, B>
     where
         &'a mut A: IntoPyObject<'py>,
@@ -646,6 +647,7 @@
             (&self.0, &self.1).into_pyobject(py)
         }
     }
+    */
 
     impl<'py, A, B> FromPyObject<'py> for Pair<A, B>
     where

mercurial