If Vim is compiled with both --enable-pythoninterp and --enable-
python3interp, errors occur when importing many python modules. To
reproduce, compile as described then try something like:

:py import termios
or
:py3 import termios

Which gives the error:

ImportError: /usr/lib/python3.1/lib-dynload/termios.so: undefined
symbol: PyExc_TypeError

This doesn't happen with all modules. Mostly just those with odd .so
files.

The modules will import fine outside of Vim, or if python 2 or python
3 is compiled into Vim individually. I attempted adding some more
compiler flags as suggested at the bottom of 
http://docs.python.org/extending/embedding.html
without much luck.

Nico

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui