mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-98831: Update generate_cases.py: register inst, opcode_metadata.h (#100735)
(These aren't used yet, but may be coming soon, and it's easier to keep this tool the same between branches.) Added a sanity check for all this to compile.c. Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
This commit is contained in:
parent
28187141cc
commit
14b7f00fdf
6 changed files with 456 additions and 37 deletions
|
@ -764,7 +764,7 @@ dummy_func(
|
|||
ERROR_IF(w == NULL, error);
|
||||
}
|
||||
|
||||
inst(YIELD_VALUE, (retval --)) {
|
||||
inst(YIELD_VALUE, (retval -- unused)) {
|
||||
// NOTE: It's important that YIELD_VALUE never raises an exception!
|
||||
// The compiler treats any exception raised here as a failed close()
|
||||
// or throw() call.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue