[Github-comments] [geany/geany] Invalid SyntaxError Non-ASCII character for Python 3 (#1298)

Pander notifications at xxxxx
Sat Nov 12 12:35:50 UTC 2016


This is a test for Python3 (and Python (2)): http://pastebin.com/Hq2M5QhM The output is:

    Is Python (2) and not Python 3:
    /tmp/nep2.py 1
    /tmp/ndp2.py 1
    /tmp/sep2.py 1
    /tmp/sdp2.py 1
    /tmp/nep3.py 0
    /tmp/ndp3.py 0
    /tmp/sep3.py 0
    /tmp/sdp3.py 0
    Is Python (3) and not Python (2):
    /tmp/nep2.py 0
    /tmp/ndp2.py 0
    /tmp/sep2.py 0
    /tmp/sdp2.py 0
    /tmp/nep3.py 1
    /tmp/ndp3.py 1
    /tmp/sep3.py 1
    /tmp/sdp3.py 1

I would like to suggest two implementations. The first is that Python 3 is automatically recognised with a mechanism similar to as describer above. The second is that the user can set in Preferences what the default is. Now the default is Python (2) but I know many organisation which are allow to develop only in Python 3. For people there it would be very practical and time saving that they can change the default.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1298#issuecomment-260119702
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161112/ed95a81d/attachment.html>


More information about the Github-comments mailing list