Hi Danek,

2009/2/15 Danek Duvall:
>
> And further down that road would be to experiment with whether multiple
> versions of Python can be loaded into memory at the same time.  If that's
> the case, then you could have different scripts running with different
> versions in the same vim session.  I don't know how useful that would be in
> practice, though.

Hi Danek,

This would be very useful for the Mac OS X port of Vim (MacVim) since
10.4 comes with Python 2.3 and 10.5 ships with Python 2.5.  At the
moment I link MacVim against 2.3 so that it works on both 10.4 and
10.5 but several users have requested 2.5.  I actually implemented
dynamic loading of Python for OS X but since there are Python API
changes between 2.3 and 2.5 you get a warning when trying to run on
2.3 if the binary was built using 2.5 (even though the library itself
is successfullly loaded dynamically).

Anyway, if you get around to implementing this I would be very eager
to test it and include it in MacVim.  By the way, how exactly do you
propose to do this?  Looking at your latest patch I assume you'd build
one if_python module for each version and then decide which one to
load when python is first used?

Björn

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

Raspunde prin e-mail lui