diff configmix/_speedups.c @ 622:8d2d5d54ff3c

FIX: Handle KeyErrors in fast_getvar_s() properly within its function frame
author Franz Glasner <f.glasner@feldmann-mg.com>
date Thu, 13 Jan 2022 17:38:57 +0100
parents 8dc514bd3d5e
children e3a23e9242a0
line wrap: on
line diff
--- 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;