On Sat, May 26, 2012 at 1:09 PM, Joachim Durchholz <[email protected]> wrote: > Am 26.05.2012 11:50, schrieb Sergiu Ivanov: > >> which then causes the failure with Python 2.5, because `as` is not yet >> supported in Python 2.5. It doesn't look like it has anything to do >> with Python 3. > > > The "as" syntax was backported to Python 2.6, but it was originally > introduced in and for Python 3.
Oh, thank you! That's another piece of knowledge about Python (which is not extensive yet) into my bag :-) >> There also a number of this `as`-related failures in that file. I >> have re-done everything to the older `CoercionFailed, e` version. Now >> ./setup.py test starts normally. I'll see if all the tests pass and >> will submit a pull request. > > > Sounds like the reasonable thing to do. > AFAIK the comma syntax is valid for all Python 2.x versions. Great, thanks for confirming! That was my conclusion from a brief googling as well. I'm still waiting for tests to finish (I'm running both Python 2.5 and Python 3 tests); I expect to have the pull request submitted in less than an hour. Sergiu -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en.
