Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove misleading assertion
  • Loading branch information
sweeneyde committed Jul 27, 2022
commit 4a708ebde52a4e1e21ab785f36cfb1450ab5c453
1 change: 0 additions & 1 deletion Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -7776,7 +7776,6 @@ assemble_emit(struct assembler *a, struct instr *i)
{
_Py_CODEUNIT *code;
int size = instr_size(i);
assert(a->a_offset <= INT_MAX / sizeof(_Py_CODEUNIT));
if (!bytes_make_room(&a->a_bytecode, sizeof(_Py_CODEUNIT),
a->a_offset, size, "bytecode is too long")) {
return 0;
Expand Down