On Mon, Dec 22, 2008 at 1:29 AM, John Beckett <[email protected]>wrote:
> > Google appears to have the answer, or at least the question. > > Apparently Python 3.0 has a new interface. Someone needs to study this > and work out what the change means for Vim. For example, see: > > http://bugs.python.org/issue4385 > http://www.python.org/dev/peps/pep-3123/ > http://www.mail-archive.com/[email protected]/msg15045.html > > John > Well, that would explain it. I didn't realize the C interface in 3.0 isn't backwards compatible, either. Unfortunately, although I have Python 2.6, many of my Python programs don't run on anything earlier than Python 3.0 now. I don't know enough about C to figure out what needs to be changed in if_python.c, but it doesn't seem like there are very many changes that would be needed for it to work with Python 3.0. From what I understand of PEP 3123, anything using PyObject_HEAD_INIT needs to be converted to PyVarObject_HEAD_INIT, along with a few other changes relating to PyObject and PyVarObject. Anyone more familiar with C know how complicated it would be to make these changes? Daniel Hast --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
