Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7936 > unrolled thread

vim-khuno: live Python checking within vim via flakes (in testing)

Started byEdward Betts <edward@4angle.com>
First post2015-12-03 10:10 +0100
Last post2015-12-04 01:10 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.debian.maint.python


Contents

  vim-khuno: live Python checking within vim via flakes (in testing) Edward Betts <edward@4angle.com> - 2015-12-03 10:10 +0100
    vim & Python 3 (was Re: vim-khuno: live Python checking within vim  via flakes (in testing)) Barry Warsaw <barry@debian.org> - 2015-12-03 17:00 +0100
      Re: vim & Python 3 (was Re: vim-khuno: live Python checking within vim via flakes (in testing)) Brian May <brian@linuxpenguins.xyz> - 2015-12-04 01:10 +0100

#7936 — vim-khuno: live Python checking within vim via flakes (in testing)

FromEdward Betts <edward@4angle.com>
Date2015-12-03 10:10 +0100
Subjectvim-khuno: live Python checking within vim via flakes (in testing)
Message-ID<qBy3M-2WY-31@gated-at.bofh.it>
I've packaged a vim plugin that provides live code checking for Python 2 and 3
using pyflakes. Combined with code completion from vim-youcompleteme it makes
vim feel very IDE-like. I often find it pointing out mistakes in my Python
without needing to run the code. vim-khuno is available in testing and
unstable.

    https://tracker.debian.org/pkg/vim-khuno

Screencast and documentation available here:

    https://github.com/alfredodeza/khuno.vim

I thought this will be of interest to any vim user writing Python.
-- 
Edward.

[toc] | [next] | [standalone]


#7937 — vim & Python 3 (was Re: vim-khuno: live Python checking within vim via flakes (in testing))

FromBarry Warsaw <barry@debian.org>
Date2015-12-03 17:00 +0100
Subjectvim & Python 3 (was Re: vim-khuno: live Python checking within vim via flakes (in testing))
Message-ID<qBEsy-75q-11@gated-at.bofh.it>
In reply to#7936
On Dec 03, 2015, at 08:45 AM, Edward Betts wrote:

>I've packaged a vim plugin that provides live code checking for Python 2 and 3
>using pyflakes.

Speaking of vim, some work needs to be done along the port-to-Python-3 path.
I think vim still only builds against Python 2.  As part of this issue:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729924

I submitted a (probably out-of-date) patch to enable Python 3, but the Debian
maintainer has some valid concerns.  I'm not a vim user so I really don't know
how people expect vim+Python to work, and whether it's actually feasible to
selectively enable Python 2 or Python 3 support.  Ideally (from a Python 3
p.o.v.) it would be possible to ship vim and not require any Python 2 to be
installed by default.

If you're a vim and Python fan, please take a look at the above issue and any
help you can provide to move this forward would be greatly appreciated.

Cheers,
-Barry

[toc] | [prev] | [next] | [standalone]


#7938 — Re: vim & Python 3 (was Re: vim-khuno: live Python checking within vim via flakes (in testing))

FromBrian May <brian@linuxpenguins.xyz>
Date2015-12-04 01:10 +0100
SubjectRe: vim & Python 3 (was Re: vim-khuno: live Python checking within vim via flakes (in testing))
Message-ID<qBM6K-3He-7@gated-at.bofh.it>
In reply to#7937
Barry Warsaw <barry@debian.org> writes:

> Speaking of vim, some work needs to be done along the port-to-Python-3 path.
> I think vim still only builds against Python 2.  As part of this issue:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729924
>
> I submitted a (probably out-of-date) patch to enable Python 3, but the Debian
> maintainer has some valid concerns.  I'm not a vim user so I really don't know
> how people expect vim+Python to work, and whether it's actually feasible to
> selectively enable Python 2 or Python 3 support.  Ideally (from a Python 3
> p.o.v.) it would be possible to ship vim and not require any Python 2 to be
> installed by default.
>
> If you're a vim and Python fan, please take a look at the above issue and any
> help you can provide to move this forward would be greatly appreciated.

According to the most recent comment, it is possible to compile in both
Python2 and Python3 at the same time - oh wait, that looks like it is
dynamic - he didn't address the maintainers concerns.

I don't understand the concerns with dynamic modules. I am sure they are
valid concerns, I just don't understand the issues.

So if we were to jump from static Python2 support to static Python3
support, what would break? How many Python plugins are there in Debian
that would break? How many outside Debian? Do plugins outside Debian
matter for us?

The maintainer, in January 2014, seems to think there are more plugins
targetting Python3 then Python2. Is this still the case?

My suspicion is that this is not going to change unless we force change
by breaking the Python2 plugins.
-- 
Brian May <brian@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web