Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3666 by [email protected]: sympy_time.py and sympy_time_cache.py do not work
http://code.google.com/p/sympy/issues/detail?id=3666

$python2.5 bin/sympy_time_cache.py
Traceback (most recent call last):
  File "bin/sympy_time_cache.py", line 121, in <module>
    from sympy import *
  File "bin/sympy_time_cache.py", line 107, in new_import
    module = old_import(name, globals, locals, fromlist)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/__init__.py", line 30, in <module>
    from sympy.core import *
  File "bin/sympy_time_cache.py", line 107, in new_import
    module = old_import(name, globals, locals, fromlist)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/core/__init__.py", line 8, in <module>
    from expr import Expr, AtomicExpr
  File "bin/sympy_time_cache.py", line 107, in new_import
    module = old_import(name, globals, locals, fromlist)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/core/expr.py", line 4, in <module>
    from evalf import EvalfMixin
  File "bin/sympy_time_cache.py", line 107, in new_import
    module = old_import(name, globals, locals, fromlist)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/core/evalf.py", line 6, in <module>
    import sympy.mpmath.libmp as libmp
  File "bin/sympy_time_cache.py", line 107, in new_import
    module = old_import(name, globals, locals, fromlist)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/mpmath/__init__.py", line 3, in <module>
    from .usertools import monitor, timing
TypeError: new_import() takes at most 4 arguments (5 given)

I think they're using some kind of import hook that doesn't support relative imports. You can try the scripts on the tag sympy-0.7.0 to see what they are supposed to do.

We should also figure out if the scripts are even useful, and if not, delete them. I suspect they may be, though.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to