Imo, it's time for Leo devs to develop and test on Python 3.x. This should 
no longer be a hardship. The Anaconda distro is available for both 2 and 3 
on Windows, Ubuntu and MacOS.

Of course, actually getting code to work on 2 and 3 can be fairly tricky.  
My preferred way is to do:

if g.isPython3:
    # Python 3-specific code.
else:
    # Python 2-specific code.

In short, given a choice, run your unit tests using Python 3.  You *are* 
running unit tests, correct?

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" 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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to