James Vega wrote: > On Thu, Jul 22, 2010 at 12:36:27AM -0700, Nico Raffo wrote: > > 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. > > I had been meaning to check whether something like that would happen > with the Python interfaces. I saw something similar when testing the > Perl interface. Does the attached patch fix it?
Thanks, I'll include it. It fixes the problem on my system. -- Compilation process failed successfully. /// 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. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php