-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
65a49c6
commit 872cbc6
Showing
6 changed files
with
110 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
// Auto-generated by Tools/build/generate_opcode_h.py from Lib/opcode.py | ||
|
||
/* Unary Functions: */ | ||
#define INTRINSIC_1_INVALID 0 | ||
#define INTRINSIC_PRINT 1 | ||
#define INTRINSIC_IMPORT_STAR 2 | ||
#define INTRINSIC_STOPITERATION_ERROR 3 | ||
#define INTRINSIC_ASYNC_GEN_WRAP 4 | ||
#define INTRINSIC_UNARY_POSITIVE 5 | ||
#define INTRINSIC_LIST_TO_TUPLE 6 | ||
|
||
#define INTRINSIC_PRINT 1 | ||
#define INTRINSIC_IMPORT_STAR 2 | ||
#define INTRINSIC_STOPITERATION_ERROR 3 | ||
#define INTRINSIC_ASYNC_GEN_WRAP 4 | ||
#define INTRINSIC_UNARY_POSITIVE 5 | ||
#define INTRINSIC_LIST_TO_TUPLE 6 | ||
|
||
#define MAX_INTRINSIC_1 6 | ||
#define MAX_INTRINSIC_1 6 | ||
|
||
|
||
/* Binary Functions: */ | ||
#define INTRINSIC_2_INVALID 0 | ||
#define INTRINSIC_PREP_RERAISE_STAR 1 | ||
|
||
#define INTRINSIC_PREP_RERAISE_STAR 1 | ||
|
||
#define MAX_INTRINSIC_2 1 | ||
|
||
#define MAX_INTRINSIC_2 1 | ||
|
||
typedef PyObject *(*instrinsic_func1)(PyThreadState* tstate, PyObject *value); | ||
typedef PyObject *(*instrinsic_func2)(PyThreadState* tstate, PyObject *value1, PyObject *value2); | ||
|
||
extern const instrinsic_func1 _PyIntrinsics_UnaryFunctions[]; | ||
extern const instrinsic_func2 _PyIntrinsics_BinaryFunctions[]; | ||
|
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
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Library/2023-05-01-17-58-28.gh-issue-103963.XWlHx7.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Make :mod:`dis` display the names of the args for :opcode:`CALL_INTRINSIC_*`. |
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