Zdenek Dohnal wrote:
> 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. Looks like it was only defined for debugging. I think we can just drop that line. -- hundred-and-one symptoms of being an internet addict: 172. You join listservers just for the extra e-mail. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.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 --- 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/202003042106.024L6USV004929%40masaka.moolenaar.net.
