evaluate lambda keyword-only defaults after positional defaults (#16967 again)
diff --git a/Python/compile.c b/Python/compile.c
index a0df40c..61f35f8 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1794,14 +1794,14 @@
             return 0;
     }
 
+    if (args->defaults)
+        VISIT_SEQ(c, expr, args->defaults);
     if (args->kwonlyargs) {
         int res = compiler_visit_kwonlydefaults(c, args->kwonlyargs,
                                                 args->kw_defaults);
         if (res < 0) return 0;
         kw_default_count = res;
     }
-    if (args->defaults)
-        VISIT_SEQ(c, expr, args->defaults);
     if (!compiler_enter_scope(c, name, COMPILER_SCOPE_FUNCTION,
                               (void *)e, e->lineno))
         return 0;
diff --git a/Python/importlib.h b/Python/importlib.h
index f7ce167..49ae28d 100644
--- a/Python/importlib.h
+++ b/Python/importlib.h
@@ -756,7 +756,7 @@
     114,101,109,111,118,101,100,49,1,0,0,115,2,0,0,0,
     0,8,117,25,0,0,0,95,99,97,108,108,95,119,105,116,
     104,95,102,114,97,109,101,115,95,114,101,109,111,118,101,100,
-    105,168,12,0,0,117,1,0,0,0,13,105,16,0,0,0,
+    105,178,12,0,0,117,1,0,0,0,13,105,16,0,0,0,
     117,1,0,0,0,10,105,24,0,0,0,99,1,0,0,0,
     0,0,0,0,2,0,0,0,3,0,0,0,99,0,0,0,
     115,29,0,0,0,124,0,0,93,19,0,125,1,0,116,0,