I have the impression that in the current code base
from __future__ import print_function
leads to pyflakes marking
print ""
as a syntax error in the editor when using python2. Further, the
scientific startup script also uses python3 print style statements. It
took me a while to realize this (when I sent the first mail on this
thread I didn't). Although I think this is a good practice knowing
that python3 adoption is growing rapidly know. However, shouldn't
users (especially first timers) be made aware of this in some fashion?
For example: an additional print statement in scientific_startup.py
stating that python3 style print statements are in effect?

Regards,
David


On 26 May 2013 01:52, Jed Ludlow <[email protected]> wrote:
> On Sat, May 25, 2013 at 5:49 PM, Jed Ludlow <[email protected]> wrote:
>>
>> On Mon, May 20, 2013 at 8:05 AM, David Verelst wrote:
>>>
>>> Hi,
>>>
>>> Exciting to see Python 3 support is arriving for spyder in the default
>>> branch!
>>>
>>> I am running Spyder from Hg source with python2 (on Arch Linux 64bit),
>>> and after pulling the recent python3 changes I realized that code checking
>>> with Pyflakes is suddenly in Python3 mode (rolling back to spyder 2.2 fixes
>>> this). Is there any way you can tell pyflakes whether the source code is
>>> written in python2 or python3? I couldn't find a reference anywhere in the
>>> spyder source.
>>>
>>> Regards,
>>> David
>>
>>
>> David,
>>
>> You may have already noticed this, but there is now an issue on the
>> tracker specific to this question:
>>
>> https://code.google.com/p/spyderlib/issues/detail?id=1402
>>
> Sorry, inadvertent key press combination caused my message above to leave
> before it was ready :). At any rate, I would suggest continuing the
> discussion on the issue tracker.
>
> Jed
>
> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/spyderlib?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to