News for hackers. Stuff that matters.
Re:Vy – A Vim-like in Python made from scratch by ahmeni on Sunday May 07, 2017 @11:28PM (#14289046)
TKinter is a bit of a bizarre choice these days, it looks like you're locked into a non-shell non-native GUI for the benefit of being able to natively manipulate TKinter objects. Though, looking through the plugins it is nice to see how simple and isolated the code for each is.

Lack of Python3 support is concerning as always with any modern Python project.

Re:Vy – A Vim-like in Python made from scratch by y7 on Monday May 08, 2017 @09:09AM (#14291137)
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.
Re:Vy – A Vim-like in Python made from scratch by y7 on Monday May 08, 2017 @03:54PM (#14294984)
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.
Re:Vy – A Vim-like in Python made from scratch by iogf on Monday May 08, 2017 @05:28PM (#14295778)
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.
Re:Vy – A Vim-like in Python made from scratch by iogf on Monday May 08, 2017 @05:27PM (#14295771)
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.

Re:Vy – A Vim-like in Python made from scratch by oblio on Monday May 08, 2017 @04:58AM (#14290155)
For this kind of tool that doesn't seem such a big problem. The presentation screenshots could have done without the Motif theme, though :)