Roland Puntaier wrote:

> I hope you can add this to the trunk: I supports now both python 3.x and 
> python 2.x.

Wow, this is a big patch.  Thanks for all your work.

We do need to find any problems.  I won't add it until after testing.

> To have both python 3.x and python 2.x support there is only one way:
> load the symbols manually in code via dlopen(), dlsym() and dlclose()
> or LoadLibrary(), GetProcAddress(), FreeLibrary() on Windows.

That makes sense.  I suppose linking with both libraries causes
conflicts.

In the source code changes I notice you now define FEAT_PYTHON3, but
there is no FEAT_PYTHON2.  I would think we need both, since we can have
Vim with:
        - only Python 2 (current situation)
        - only Python 3 (future)
        - both Python 2 and 3

How do we distinguish the second and third situation?

The rest sounds good.  I hope a few people try it out and give us
feedback.

-- 
hundred-and-one symptoms of being an internet addict:
263. You have more e-mail addresses than shorts.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui