Updates:
        Status: Accepted
        Cc: matt...@gmail.com

Comment #14 on issue 1946 by asmeurer: Recursion error with SYMPY_GROUND_TYPES=sympy (caching problem)
http://code.google.com/p/sympy/issues/detail?id=1946

So the test that was added with this (test_integer_cache in numbers.py) fails if it is run twice. For example, run

test("numbers")
test("numbers")

in isympy. I'm not really sure if there's a way around this, since the way the test is written, it tests an empty cache.

By the way, why does it have

   while python_int in _intcache or hash(python_int) in _intcache:
       value += 1

But value is not defined anywhere, so if it gets to that line, it raises UnboundLocalError.



--
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.

Reply via email to