Why anyone would start a project exclusively supporting Python 2 six years after the release of Python 3 is beyond me. (GitHub lists the first commit in Nov 2014).
Re:Vy – A Vim-like in Python made from scratch
by hashkb on Monday May 08, 2017 @10:06AM
(#14291537)
I don't know the specifics (sort of watching, amuses, from the sidelines) but the 2/3 schism is still very real.
I'm not fluent in Python at all, and so it seems I have to have both, and if `pip install` doesn't work then I `pip3 install`. That seems pretty broken to me.
Re:Vy – A Vim-like in Python made from scratch
by dkuntz2 on Monday May 08, 2017 @02:23PM
(#14294193)
`pip` is dictated by your OS, so you've probably got python2 set as your default python.
Re:Vy – A Vim-like in Python made from scratch
by int_19h on Monday May 08, 2017 @03:10PM
(#14294602)
Python itself has established the convention that the "python" binary is always 2.x, and "python3" is 3.x. Even if Python 2 is not installed at all. This naturally translated to other tools.
I don't think this is necessarily true? It used to be, but I sometimes see "python" being Python 3 and "python2" being Python 2.
Re:Vy – A Vim-like in Python made from scratch
by int_19h on Monday May 08, 2017 @04:47PM
(#14295451)
It's a PEP.
https://www.python.org/dev/peps/pep-0394/
The long-term plan is to make "python" version-agnostic. But for the time being, it is acknowledged that compatibility with Py2 is too important to do it just yet.
Re:Vy – A Vim-like in Python made from scratch
by garaetjjte on Tuesday May 09, 2017 @05:27PM
(#14303943)
Arch Linux is significant exception.
vy started when python3 was sort of an experiment, i haven't had many people interested in it in the last four years so i decided to keep it on py2, i have python3 support planned it is coming soon.
Python3 support is coming soon as well as cli support. I'll develop a tk binding that works with tcl CTL lib, people will be able to run tkinter applications on CLI with no complex changes.
Re:Vy – A Vim-like in Python made from scratch
by Giroflex on Monday May 08, 2017 @09:53PM
(#14297190)
Legit question, what's a good alternative for tkinter? I agree it's terribly inconsistent and unpythonic and generally a displeasure to work with.
Qt has license issues; GPL wrappers are a no-go and I still can't completely understand LGPL so I'd rather not risk it.
It surprises me that given Python's size there isn't a one go-to permissive licensed GUI library.
Lack of Python3 support is concerning as always with any modern Python project.