updated for version 7.3.1070
Problem:    Vim crashes in Python tests. Compiler warning for unused function.
Solution:   Disable the tests for now. Move the function.
diff --git a/src/if_python.c b/src/if_python.c
index cf2ab9a..a1291d7 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -737,6 +737,21 @@
     }
 #endif
 
+#if defined(HAVE_LOCALE_H) || defined(X_LOCALE)
+    static void *
+py_memsave(void *p, size_t len)
+{
+    void	*r;
+
+    if (!(r = PyMem_Malloc(len)))
+	return NULL;
+    mch_memmove(r, p, len);
+    return r;
+}
+
+# define PY_STRSAVE(s) ((char_u *) py_memsave(s, STRLEN(s) + 1))
+#endif
+
 /*
  * Include the code shared with if_python3.c
  */