From 430210987d14901f3ab33d83aff3bf704fad3502 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 28 Mar 2022 18:17:10 +0200 Subject: [PATCH] 33584: initial version --- src/sage/interfaces/mathics.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sage/interfaces/mathics.py b/src/sage/interfaces/mathics.py index 207fd4e3182..52e57d15f18 100644 --- a/src/sage/interfaces/mathics.py +++ b/src/sage/interfaces/mathics.py @@ -1068,7 +1068,10 @@ def _sage_(self, locals={}): s = self.to_sympy() if self is not s and s is not None: if hasattr(s, '_sage_'): - return s._sage_() + try: + return s._sage_() + except NotImplementedError: # see :trac:`33584` + pass p = self.to_python() if self is not p and p is not None: def conv(i):