The tests pass using the 3.5 lru_cache if we make it unbounded:

$ SYMPY_CACHE_SIZE=none /usr/local/python-3.5.0/bin/python3
Python 3.5.0 (default, Sep 23 2015, 14:54:30) 
[GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sympy import test
>>> test("test_frame")
============================= test process starts 
==============================
executable:         /usr/local/python-3.5.0/bin/python3  (3.5.0-final-0) [
CPython]
architecture:       64-bit
cache:              yes
ground types:       python 
random seed:        3721264
hash randomization: on (PYTHONHASHSEED=117906637)


sympy/physics/vector/tests/test_frame.py[4] ....                            
[OK]


================== tests finished: 4 passed, in 3.21 seconds 
===================
True


Seems like a bug in the new 3.5 lru_cache


On Tuesday, September 29, 2015 at 6:40:22 AM UTC-6, Peter Brady wrote:
>
> 3.5 also introduced an lru_cache in c.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/1c0a918a-5f67-481a-9d53-6450fc605d67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to