-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug in generate_opcode_diffs and add a missing 3.10 opcode.
The script missed an opcode (RERAISE) whose index changed in 3.10. Technically speaking, we should be using different class definitions for RERAISE in pyc/opcodes.py depending on the target version, but using the 3.10 definition in older versions doesn't seem to cause any issues, so it's simpler to just always use the newest definition. For #1022. PiperOrigin-RevId: 429463279
- Loading branch information
Showing
3 changed files
with
62 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters