diff --git a/src/if_python.c b/src/if_python.c index 43b780be75..6ba0f90fa5 100644 --- a/src/if_python.c +++ b/src/if_python.c @@ -838,10 +838,6 @@ static int PythonMod_Init(void); /////////////////////////////////////////////////////// // 1. Python interpreter main program. -#if PYTHON_API_VERSION < 1007 // Python 1.4 -typedef PyObject PyThreadState; -#endif - #ifndef PY_CAN_RECURSE static PyThreadState *saved_python_thread = NULL; @@ -1561,17 +1557,6 @@ do_pyeval(char_u *str, dict_T *locals, typval_T *rettv) } } -// Don't generate a prototype for the next function, it generates an error on -// newer Python versions. -#if PYTHON_API_VERSION < 1007 /* Python 1.4 */ && !defined(PROTO) - - char * -Py_GetProgramName(void) -{ - return "vim"; -} -#endif // Python 1.4 - int set_ref_in_python(int copyID) { diff --git a/src/version.c b/src/version.c index 718c415006..3a664bfb28 100644 --- a/src/version.c +++ b/src/version.c @@ -724,6 +724,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1673, /**/ 1672, /**/