Comment #19 on issue 1233 by asmeurer: fix the rest of jython bugs
http://code.google.com/p/sympy/issues/detail?id=1233
So it's actually a completely different __slots__ that is causing the
problem. This causes jython to work with SymPy:
diff --git a/sympy/core/assumptions.py b/sympy/core/assumptions.py
index db3c296..84a02a6 100644
--- a/sympy/core/assumptions.py
+++ b/sympy/core/assumptions.py
@@ -225,7 +225,7 @@ class AssumeMixin(object):
# through prerequisites -- see
CycleDetected)
'_assume_type_keys', # assumptions typeinfo keys
]
- __slots__ = []
+# __slots__ = []
def _init_assumptions(self, assumptions):
# initially assumptions are shared between instances and class
This one doesn't seem to slow down the core tests any. I'll play around
with conditionally defining __slots__ in jython as suggested in the Jython
issue.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.