annotate .gitattributes @ 36117:cfe3af72e300 v9.1.0723

patch 9.1.0723: if_python: dynamic linking fails with python3 >= 3.13 Commit: https://github.com/vim/vim/commit/97a5be46879ab2b24bb9b485966be031865e1191 Author: Yee Cheng Chin <ychin.git@gmail.com> Date: Mon Sep 9 19:46:17 2024 +0200 patch 9.1.0723: if_python: dynamic linking fails with python3 >= 3.13 Problem: if_python: dynamic linking fails with python3 >= 3.13 when using non-stable ABI (zdohnal) Solution: do not try to import the privat python symbol _PyObject_NextNotImplemented (Yee Cheng Chin) Vim is importing a private Python symbol `_PyObject_NextNotImplemented` because it used to be required as part of the `PyIter_Check()` macro in an abstraction breaking way. Python eventually fixed the issue and in 3.13 it removed the private symbol export, which broke Vim. Simply remove importing this private symbol in newer Python versions as it's no longer needed for PyIter_Check to work. fixes: #15457 closes: #15649 Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 09 Sep 2024 20:00:09 +0200
parents ccc02b39fb5e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18376
ccc02b39fb5e patch 8.1.2182: test42 seen as binary by git diff
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 src/testdir/test42.in diff