On Mon, Sep 28, 2015 at 8:06 PM, Kate MacInnis <macinni...@gmail.com> wrote: > Oh, sure. Didn't mean to imply that it doesn't, I'm just happy that I can > start my next project using sympy and python 3.5. > > Although, I am confused-- how can it be a bug in fastcache if it only shows > up when fastcache isn't installed?
Oh, I guess I got that backwards. Peter's assessment that it's a bug in lru_cache sounds right. We should determine if it really is a bug in lru_cache and not just in the way we are using it, and if so, report this to upstream CPython. Aaron Meurer > > On Monday, September 28, 2015 at 7:43:58 PM UTC-5, Aaron Meurer wrote: >> >> This does need to be fixed, though. I suspect it's a bug in fastcache. >> >> Aaron Meurer >> >> On Mon, Sep 28, 2015 at 7:42 PM, Kate MacInnis <macin...@gmail.com> wrote: >> > Awesome. That fixes all 7 errors in physics/vector and vector. So in >> > 3.4 >> > it works with or without fastcache, in 3.5 it works only with fastcache. >> > >> > The only other problem I got was in sympify, where the expected error >> > for >> > "lambda *args: args" changes from a SyntaxError to a TypeError, because >> > of >> > the changes to sequence unpacking in 3.5. So that's a simple fix. >> > >> > On Monday, September 28, 2015 at 7:15:12 PM UTC-5, Aaron Meurer wrote: >> >> >> >> I think this might have to do with fastcache. If I install it, the >> >> test passes, but if I remove it, it fails. >> >> >> >> Aaron Meurer >> >> >> >> On Mon, Sep 28, 2015 at 6:17 PM, Kate MacInnis <macin...@gmail.com> >> >> wrote: >> >> > Alright, I might try to delve into the test runner then. I'm running >> >> > this >> >> > on Python 3.5, and there are several oddities, including an error >> >> > that >> >> > interrupts the test running process if you run `test("vector")` but >> >> > not >> >> > `test('sympy/physics/vector/tests/test_functions')` -- but if you >> >> > comment >> >> > out the entire file sympy/physics/vector/tests/test_functions.py, >> >> > then >> >> > `test("vector")` completes. >> >> > >> >> > >> >> > >> >> > On Monday, September 28, 2015 at 3:44:50 PM UTC-5, Aaron Meurer >> >> > wrote: >> >> >> >> >> >> I think that should work. Usually when a test fails, I open the file >> >> >> and take a look at it, and run the code manually if I need to, but >> >> >> the >> >> >> test runner doesn't do anything more than just import the modules >> >> >> and >> >> >> run all the functions that start with "test_". >> >> >> >> >> >> Aaron Meurer >> >> >> >> >> >> On Mon, Sep 28, 2015 at 3:31 PM, Kate MacInnis <macin...@gmail.com> >> >> >> wrote: >> >> >> > I just want to make sure I understand how testing is supposed to >> >> >> > work, >> >> >> > before I start going through the code looking for the source of >> >> >> > (what >> >> >> > I >> >> >> > think is) weirdness. >> >> >> > >> >> >> > If I run `sympy.test('test_frame')` and get: >> >> >> > >> >> >> > sympy/physics/vector/tests/test_frame.py[4] .EE. >> >> >> > [FAIL] >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > _____________________________________________________________________________________ >> >> >> > _______________ >> >> >> > sympy/physics/vector/tests/test_frame.py:test_ang_vel >> >> >> > _______________ >> >> >> > File >> >> >> > >> >> >> > >> >> >> > "/users/kate/devstuff/sympy/sympy/physics/vector/tests/test_frame.py", >> >> >> > line >> >> >> > 65, in test_ang_vel >> >> >> > ... >> >> >> > >> >> >> > >> >> >> > then I should be able to do >> >> >> >>>> from sympy.physics.vector.tests.test_frame import test_ang_vel >> >> >> >>>> test_ang_vel() >> >> >> > >> >> >> > and get the same error, right? Or is that not what is supposed to >> >> >> > happen? >> >> >> > >> >> >> > -- >> >> >> > 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+un...@googlegroups.com. >> >> >> > To post to this group, send email to sy...@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/70260765-bde6-424f-9cb1-1b813f6ef671%40googlegroups.com. >> >> >> > For more options, visit https://groups.google.com/d/optout. >> >> > >> >> > -- >> >> > 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+un...@googlegroups.com. >> >> > To post to this group, send email to sy...@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/1c016950-a16f-46df-875d-6b4fa229b86f%40googlegroups.com. >> >> > >> >> > For more options, visit https://groups.google.com/d/optout. >> > >> > -- >> > 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+un...@googlegroups.com. >> > To post to this group, send email to sy...@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/a500f9f0-aeb8-4619-af7d-ec733b078ff0%40googlegroups.com. >> > >> > For more options, visit https://groups.google.com/d/optout. > > -- > 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/1d00e4ec-0aac-46a8-9f67-da4dbfd823c4%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- 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/CAKgW%3D6JHSqqkBSiyN8pcTAATk8hRKMOK0WOf-PGCy%3DkX-RgNuw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.