Re: Dynamically loading Python library

2008-11-07 Thread björn
2008/11/3 Jason Foreman <[EMAIL PROTECTED]>: > > FWIW, I've been toying with the idea of making my own Leopard-only > builds available recently. I always build my MacVim from source using > Python 2.5 and 10.5 SDK. I do also use a couple of extra patches in > my build (relative number, Lua, work

Re: Dynamically loading Python library

2008-11-04 Thread Panos
I was pestering Bjorn about making python be dynamically loaded, but I went ahead a compiled from source. Easy as pie, plus now I have python 2.5 support :) Thanks for making it that easy, although I still believe that people that actually use python are way past 2.3 by now. Still it's easier to

Re: Dynamically loading Python library

2008-11-04 Thread Ben Schmidt
Nico Weber wrote: >>> It seems this is the only way to go then. But...I wonder if it >>> really >>> is worth my time making two distributions just so a few users get to >>> use Python 2.5 instead of 2.3. I think I need a better reason than >>> that for something as drastic as distributing two

Re: Dynamically loading Python library

2008-11-03 Thread Nico Weber
>> It seems this is the only way to go then. But...I wonder if it >> really >> is worth my time making two distributions just so a few users get to >> use Python 2.5 instead of 2.3. I think I need a better reason than >> that for something as drastic as distributing two different versions >> o

Re: Dynamically loading Python library

2008-11-03 Thread Matt Tolton
> It seems this is the only way to go then. But...I wonder if it really > is worth my time making two distributions just so a few users get to > use Python 2.5 instead of 2.3. I think I need a better reason than > that for something as drastic as distributing two different versions > of the bina

Re: Dynamically loading Python library

2008-11-03 Thread Jason Foreman
On Mon, Nov 3, 2008 at 11:55 AM, björn <[EMAIL PROTECTED]> wrote: > 2008/11/3 Ben Schmidt <[EMAIL PROTECTED]>: >> have separate MacVim builds for Tiger and Leopard. > > It seems this is the only way to go then. But...I wonder if it really > is worth my time making two distributions just so a few u

Re: Dynamically loading Python library

2008-11-03 Thread björn
2008/11/3 Ben Schmidt <[EMAIL PROTECTED]>: > > You could ask the Python guys to try to find out exactly what the API > changes are and whether they apply to Vim or not, but this could be > difficult to ascertain--these things tend to be a bit of a haystack. On > the other hand, it could be the cha

Re: Dynamically loading Python library

2008-11-02 Thread Ben Schmidt
George V. Reilly wrote: > 2008/11/2 Ben Schmidt <[EMAIL PROTECTED] > > > > > If Python is dynamically loaded, then people running Python 2.3 on > > Tiger don't pay any cost until they use :python. I'm inclined to > think > > that most people who want

Re: Dynamically loading Python library

2008-11-02 Thread George V. Reilly
2008/11/2 Ben Schmidt <[EMAIL PROTECTED]> > > If Python is dynamically loaded, then people running Python 2.3 on > > Tiger don't pay any cost until they use :python. I'm inclined to think > > that most people who want to use :python have Python 2.5 or 2.6 > > installed. > > I'm not so sure about t

Re: Dynamically loading Python library

2008-11-02 Thread Ben Schmidt
> If Python is dynamically loaded, then people running Python 2.3 on > Tiger don't pay any cost until they use :python. I'm inclined to think > that most people who want to use :python have Python 2.5 or 2.6 > installed. I'm not so sure about that. I do use :python, but only indirectly, by using

Re: Dynamically loading Python library

2008-11-02 Thread Ben Schmidt
> Now, I have managed to get Python to load dynamically and have tested > on Leopard/Intel and Tiger/PPC and on the former it loads 2.5, on the > latter 2.3. Yay! Or not. It turns out that there was an API change > between 2.3 and 2.5 and this is checked via a define > PYTHON_API_VERSION which

Re: Dynamically loading Python library

2008-11-02 Thread cfrees
On Sun 2nd Nov, 2008 at 17:42, George V. Reilly seems to have written: > 2008/11/1 Jason Foreman <[EMAIL PROTECTED]>: >> On Nov 1, 2008, at 11:57 AM, bj?rn wrote: >>> How is this solved on Windows? >> >> I believe you must have installed the version of Python that your Vim >> distribution was bui

Re: Dynamically loading Python library

2008-11-02 Thread George V. Reilly
2008/11/1 Jason Foreman <[EMAIL PROTECTED]>: > On Nov 1, 2008, at 11:57 AM, björn wrote: >> How is this solved on Windows? > > I believe you must have installed the version of Python that your Vim > distribution was built with. For standard builds I think this is 2.3. > Cream builds use 2.5 or ma

Re: Dynamically loading Python library

2008-11-01 Thread Jason Foreman
Hi Björn, On Nov 1, 2008, at 11:57 AM, björn wrote: How is this solved on Windows? I believe you must have installed the version of Python that your Vim distribution was built with. For standard builds I think this is 2.3. Cream builds use 2.5 or maybe 2.4. I can verify this on Monday