# HG changeset patch # User Franz Glasner # Date 1642091937 -3600 # Node ID 8d2d5d54ff3ca1fbd132f023e8c9c308e11672d2 # Parent e8ff899c363cbdbcda8ccfa11dca908626f4fbcc FIX: Handle KeyErrors in fast_getvar_s() properly within its function frame diff -r e8ff899c363c -r 8d2d5d54ff3c configmix/_speedups.c --- a/configmix/_speedups.c Thu Jan 13 16:03:20 2022 +0100 +++ b/configmix/_speedups.c Thu Jan 13 17:38:57 2022 +0100 @@ -1346,7 +1346,7 @@ if (tmp1 == NULL) { goto error; } - tmp2 = _fast_getvarl(config, tmp1, NULL, default_, sstate); + tmp2 = _fast_getvarl(config, tmp1, NULL, NULL, sstate); if (tmp2 == NULL) { py_clear_ref(&tmp1); goto handle_possible_keyerror;