On Thu, May 24, 2012 at 6:59 PM, Sergiu Ivanov
<[email protected]> wrote:
> On Thu, May 24, 2012 at 1:52 PM, Vladimir Perić <[email protected]> wrote:
>>
>> Currently, we do support Python 3, but only with the use of the 2to3
>> tool (vie the bin/use2to3 script). As such, the recommended
>> development process is to work in Python 2. then once everything is
>> alright run use2to3 and check if all the tests pass under Python 3
>> too. You should be using Python 3.2 (3.1 will mostly work too, but
>> there may be some doctest errors). I also recommend, if possible, to
>> work in Python 2.5 (the lowest supported version) as that's where the
>> trickiest issues arise - 2.7 already supports by default many of the
>> Python 3 constructs. In any case, whatever works on 2.5 will almost
>> certainly work on 2.7 while the opposite is less true.
>
> I see; thank you for the detailed explanation!
Just one more question: in the py3k-sympy directory I get after
running use2to3 I cannot run ./bin/isympy because of
File "./bin/isympy", line 175
print __doc__ # the docstring of this module above
^
SyntaxError: invalid syntax
I am far from being a Python expert, to say nothing of Python 2 vs 3,
but, as far as I remember, using print without parentheses is
forbidden in Python 3, so I gather that at least ./bin/isympy does not
get converted. Is this expected or am I missing something?
By the way, ./setup.py test runs nicely.
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.