gh-145857: Replace DELETE_GLOBAL with PUSH_NULL; STORE_GLOBAL (GH-146314)

This commit is contained in:
Brij Kapadia
2026-06-30 14:04:56 -04:00
committed by GitHub
parent c393ab61d9
commit a3dc7849a3
19 changed files with 1047 additions and 1096 deletions
+4 -1
View File
@@ -3369,7 +3369,10 @@ codegen_nameop(compiler *c, location loc,
}
break;
case Store: op = STORE_GLOBAL; break;
case Del: op = DELETE_GLOBAL; break;
case Del:
ADDOP(c, loc, PUSH_NULL);
op = STORE_GLOBAL;
break;
}
break;
case COMPILE_OP_NAME: