From e9056b121d6e9751bc0f802c09d4697a6ce4bdd5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 3 Jun 2013 20:04:48 +0200 Subject: [PATCH] updated for version 7.3.1108 Problem: Error message for os.fchdir() (Charles Peacech) Solution: Clear the error. (ZyX) --- src/if_py_both.h | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/if_py_both.h b/src/if_py_both.h index 99fdd80ce..945efe60b 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -5413,6 +5413,8 @@ populate_module(PyObject *m, object_adder add_object, attr_getter get_attr) if (PyObject_SetAttrString(os, "fchdir", get_attr(m, "fchdir"))) return -1; } + else + PyErr_Clear(); return 0; } diff --git a/src/version.c b/src/version.c index d9a3a88e5..22d46c764 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1108, /**/ 1107, /**/ -- 2.50.1