[Python-Dev] python2 and python3 and vim

Barry Warsaw barry at python.org
Sun Nov 3 23:14:08 CET 2013


On Nov 04, 2013, at 08:04 AM, Nick Coghlan wrote:

>Since making it work would be a lot of work for minimal benefit, the most
>that could realistically be done is to make it fail a little more
>gracefully (I believe that would need to be done on the Vim side of things,
>though).

Right.  I can't remember the details, but I've seen similar types of
dual-plugin support in other applications.  Generally it means you can
*either* import Python 2 code or Python 3 code in a single process, but once
you've fired up the first runtime, the application will prevent you from
firing up the other.  So yes, I think Vim would have to put that guard in, and
I agree that there's not much benefit in trying to make this work in Python.

-Barry


More information about the Python-Dev mailing list