We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 422fdb3 commit df9f759Copy full SHA for df9f759
Python/compile.c
@@ -8272,6 +8272,9 @@ assemble(struct compiler *c, int addNone)
8272
if (_PyBytes_Resize(&a.a_except_table, a.a_except_table_off) < 0) {
8273
goto error;
8274
}
8275
+ if (!merge_const_one(c, &a.a_except_table)) {
8276
+ goto error;
8277
+ }
8278
if (!assemble_start_line_range(&a)) {
8279
return 0;
8280
@@ -8293,6 +8296,9 @@ assemble(struct compiler *c, int addNone)
8293
8296
if (_PyBytes_Resize(&a.a_cnotab, a.a_cnotab_off) < 0) {
8294
8297
8295
8298
8299
+ if (!merge_const_one(c, &a.a_cnotab)) {
8300
8301
8302
if (_PyBytes_Resize(&a.a_bytecode, a.a_offset * sizeof(_Py_CODEUNIT)) < 0) {
8303
8304
0 commit comments