Comment #2 on issue 2605 by [email protected]: ntheory/factor_.py: doctest
incompatible with 2to3
http://code.google.com/p/sympy/issues/detail?id=2605
After reading the Porting code to Python3 with 2to3 I see that the
easier fix is to just import reduce, so after the first two imports
write
>>> from functools import reduce
and that should allow the reduce line to work. BUT that is only
available after python 2.5 so perhaps it could be written as
>>> try: from functools import reduce
... except ImportError: pass
--
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.