Re: python omnicompletion with Python 2.5

2007-03-27 Thread Christian Ebert
* Christian Ebert on Tuesday, March 27, 2007 at 01:15:20 +0200: > I did a few experiments. > > As I compile with --disable-darwin, I build a Vim.app (that's how > it's called on the Mac) for testing, and there things get even > more confusing with a newer Python in /usr/local, as it uses the > new

Re: python omnicompletion with Python 2.5

2007-03-26 Thread Christian Ebert
Hi Aaron, * Aaron Griffin on Monday, March 26, 2007 at 13:54:19 -0500: > Hmmm, well, I don't really know what to say w.r.t. all that. The best > I can do is push a new pythoncomplete out that isn't dependent on > cStringIO. I think it may have been a pre-optimization anyway. I'll > make a note

Re: python omnicompletion with Python 2.5

2007-03-26 Thread Christian Ebert
* Aaron Griffin on Monday, March 26, 2007 at 13:54:19 -0500: > Hmmm, well, I don't really know what to say w.r.t. all that. The best > I can do is push a new pythoncomplete out that isn't dependent on > cStringIO. I think it may have been a pre-optimization anyway. But cStringIO is faster ;) >

Re: python omnicompletion with Python 2.5

2007-03-26 Thread Aaron Griffin
On 3/26/07, Christian Ebert <[EMAIL PROTECTED]> wrote: Yes. Apparently there is a problem with vim and the *.so libs in /usr/local/lib/python2.5/lib-dynload/. I can't import them inside vim. Whereas something like the following works fine in Vim: :py import StringIO; fp=StringIO.StringIO(); fp

Re: python omnicompletion with Python 2.5

2007-03-26 Thread Christian Ebert
Hi Aaron, * Aaron Griffin on Monday, March 26, 2007 at 12:05:06 -0500: > On 3/26/07, Christian Ebert <[EMAIL PROTECTED]> wrote: >> * Aaron Griffin on Monday, March 26, 2007 at 10:39:24 -0500: >>> Try the following in vim: >>> >>> :python import sys; print sys.version >> >> 2.5 (r25:51908, Dec 15

Re: python omnicompletion with Python 2.5

2007-03-26 Thread Aaron Griffin
On 3/26/07, Christian Ebert <[EMAIL PROTECTED]> wrote: * Aaron Griffin on Monday, March 26, 2007 at 10:39:24 -0500: > On 3/26/07, Christian Ebert <[EMAIL PROTECTED]> wrote: >> I wanted to try out omnicompletion with Python 2.5, and I get the >> following: >> >> Error detected while processing fun

Re: python omnicompletion with Python 2.5

2007-03-26 Thread Christian Ebert
* Aaron Griffin on Monday, March 26, 2007 at 10:39:24 -0500: > On 3/26/07, Christian Ebert <[EMAIL PROTECTED]> wrote: >> I wanted to try out omnicompletion with Python 2.5, and I get the >> following: >> >> Error detected while processing function > Try the following in vim: > > :python import sy

Re: python omnicompletion with Python 2.5

2007-03-26 Thread Aaron Griffin
On 3/26/07, Christian Ebert <[EMAIL PROTECTED]> wrote: Hello, I wanted to try out omnicompletion with Python 2.5, and I get the following: Error detected while processing function Try the following in vim: :python import sys; print sys.version