From: Bram Moolenaar Date: Mon, 27 Apr 2020 22:02:41 +0000 (+0200) Subject: patch 8.2.0654: building with Python fails X-Git-Tag: v8.2.0654 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a14bb7e1132377af60910402f1a9e4796297f5df;p=vim patch 8.2.0654: building with Python fails Problem: Building with Python fails. Solution: Add missing argument. --- diff --git a/src/if_py_both.h b/src/if_py_both.h index 5a878bd2b..d6a5b11a5 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -2934,7 +2934,7 @@ FunctionNew(PyTypeObject *subtype, char_u *name, int argc, typval_T *argv, if (isdigit(*name)) { - if (!translated_function_exists(name)) + if (!translated_function_exists(name, FALSE)) { PyErr_FORMAT(PyExc_ValueError, N_("unnamed function %s does not exist"), name); diff --git a/src/version.c b/src/version.c index 9bee5136b..b99f9bedd 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 654, /**/ 653, /**/