Hi,

our Fedora python team is doing checks of packages which requires python 
about their issues with new python version - 3.9.

They found out Vim fails to build from source with python3.9 due following 
error:

if_python3.c: In function 'py3__Py_DECREF':
if_python3.c:606:5: error: '_Py_DEC_REFTOTAL' undeclared (first use in this 
function); did you mean '_Py_DECREF'?
  606 |     _Py_DEC_REFTOTAL;
      |     ^~~~~~~~~~~~~~~~
      |     _Py_DECREF
if_python3.c:606:5: note: each undeclared identifier is reported only once for 
each function it appears in

_Py_DEC_REFTOTAL macro is no longer available in python3.9 - Python project 
uses variable decrementing directly now '_Py_RefTotal--;'

Actually, I'm not quite sure Vim defines py3__Py_DECREF function in its python 
module, when it does the same thing as _Py_DECREF defined in python library.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/63d239b4-9603-4a3c-9947-0c3994211cb1%40googlegroups.com.

Raspunde prin e-mail lui