Skip to content
Merged
Show file tree
Hide file tree
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
Feedback from Guido
  • Loading branch information
JelleZijlstra committed May 21, 2024
commit d40a57730cb3bf4c31e0d6f919c02bd030010ab3
2 changes: 1 addition & 1 deletion Include/internal/pycore_opcode_metadata.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Include/internal/pycore_uop_metadata.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Lib/importlib/_bootstrap_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def _write_atomic(path, data, mode=0o666):
# Python 3.13a1 3568 (Change semantics of END_FOR)
# Python 3.13a5 3569 (Specialize CONTAINS_OP)
# Python 3.13a6 3570 (Add __firstlineno__ class attribute)
# Python 3.14a1 3571 (Add LOAD_COMMON_CONSTANT)
# Python 3.14a1 3600 (Add LOAD_COMMON_CONSTANT)

# Python 3.15 will start with 3700

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Rename :opcode:`!LOAD_ASSERTION_ERROR` opcode to :opcode:`LOAD_COMMON_CONSTANT`
Replace :opcode:`!LOAD_ASSERTION_ERROR` opcode with :opcode:`LOAD_COMMON_CONSTANT`
and add support for :exc:`NotImplementedError`.
4 changes: 1 addition & 3 deletions Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1198,9 +1198,7 @@ dummy_func(
value = PyExc_NotImplementedError;
break;
default:
_PyErr_SetString(tstate, PyExc_SystemError,
"bad LOAD_COMMON_CONSTANT oparg");
ERROR_NO_POP();
Py_FatalError("bad LOAD_COMMON_CONSTANT oparg");
}
}

Expand Down
1 change: 0 additions & 1 deletion Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "pycore_cell.h" // PyCell_GetRef()
#include "pycore_ceval.h"
#include "pycore_code.h"
#include "pycore_compile.h"
#include "pycore_emscripten_signal.h" // _Py_CHECK_EMSCRIPTEN_SIGNALS
#include "pycore_function.h"
#include "pycore_instruments.h"
Expand Down
4 changes: 1 addition & 3 deletions Python/executor_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Python/generated_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.