patch 9.1.1256: if_python: duplicate tuple data entries
Commit:
https://github.com/vim/vim/commit/0980e41161eb5c4dc144f93f472e967f75916fe9
Author: Yegappan Lakshmanan <[email protected]>
Date: Sat Mar 29 08:53:12 2025 +0100
patch 9.1.1256: if_python: duplicate tuple data entries
Problem: if_python: duplicate tuple data entries
(after v9.1.1239)
Solution: clean up duplicates (Yegappan Lakshmanan)
closes: #17004
Signed-off-by: Yegappan Lakshmanan <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/if_python.c b/src/if_python.c
index 5a5e6ea30..aa496f23f 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -210,9 +210,6 @@ struct PyMethodDef { Py_ssize_t a; };
# define PySequence_Size dll_PySequence_Size
# define PySequence_GetItem dll_PySequence_GetItem
# define PySequence_Fast dll_PySequence_Fast
-# define PyTuple_Size dll_PyTuple_Size
-# define PyTuple_GetItem dll_PyTuple_GetItem
-# define PyTuple_Type (*dll_PyTuple_Type)
# define PySlice_GetIndicesEx dll_PySlice_GetIndicesEx
# define PyImport_ImportModule dll_PyImport_ImportModule
# define PyDict_New dll_PyDict_New
@@ -556,9 +553,6 @@ static struct
{"PySequence_Check", (PYTHON_PROC*)&dll_PySequence_Check},
{"PySequence_GetItem", (PYTHON_PROC*)&dll_PySequence_GetItem},
{"PySequence_Fast", (PYTHON_PROC*)&dll_PySequence_Fast},
- {"PyTuple_GetItem", (PYTHON_PROC*)&dll_PyTuple_GetItem},
- {"PyTuple_Size", (PYTHON_PROC*)&dll_PyTuple_Size},
- {"PyTuple_Type", (PYTHON_PROC*)&dll_PyTuple_Type},
{"PySlice_GetIndicesEx", (PYTHON_PROC*)&dll_PySlice_GetIndicesEx},
{"PyImport_ImportModule", (PYTHON_PROC*)&dll_PyImport_ImportModule},
{"PyDict_GetItemString", (PYTHON_PROC*)&dll_PyDict_GetItemString},
diff --git a/src/version.c b/src/version.c
index d8e55f9c4..2a83869a4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1256,
/**/
1255,
/**/
--
--
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 visit
https://groups.google.com/d/msgid/vim_dev/E1tyR6q-004wyT-88%40256bit.org.