# HG changeset patch # User Bram Moolenaar # Date 1370282688 -7200 # Node ID 3534e9b4fa42b392399d66d08a1dcdd230accba5 # Parent 567190178c4d404d2b2835b97333adbf2e4a4d32 updated for version 7.3.1108 Problem: Error message for os.fchdir() (Charles Peacech) Solution: Clear the error. (ZyX) diff --git a/src/if_py_both.h b/src/if_py_both.h --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -5413,6 +5413,8 @@ populate_module(PyObject *m, object_adde 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 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1108, +/**/ 1107, /**/ 1106,