Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c#106758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
iritkatriel merged 30 commits intopython:mainfromiritkatriel:opcode_py
Jul 18, 2023
Merged
Changes from1 commit
Commits
Show all changes
30 commits
Select commitHold shift + click to select a range
36a7d56
gh-105481: add haslocal to _opcode.py. Generate most oplists in opcod…
iritkatrielJul 14, 2023
75019ca
added HAS_FREE flag. Removed HAS_FREE from the HAS_LOCAL list
iritkatrielJul 14, 2023
494680a
add hasjump, soft deprecate hasjrel and hasjabs. Fix build bug
iritkatrielJul 15, 2023
24786fb
generate hasexc from the C macros instead of defining it again
iritkatrielJul 15, 2023
563b431
typo
iritkatrielJul 15, 2023
227756f
Merge remote-tracking branch 'upstream/main' into opcode_py
iritkatrielJul 17, 2023
1b13b96
ascii quotes
iritkatrielJul 17, 2023
0f5ae32
make clinic
iritkatrielJul 17, 2023
289fad1
remove oplists
iritkatrielJul 17, 2023
598ba2a
import less from opcode in build script. _opcode.has_* don't exist pr…
iritkatrielJul 17, 2023
d2d355e
hascompare in old versions as well
iritkatrielJul 17, 2023
27eb2cc
remove redundant init
iritkatrielJul 17, 2023
998024a
📜🤖 Added by blurb_it.
blurb-it[bot]Jul 17, 2023
ffa4ee3
Merge branch 'main' into opcode_py
iritkatrielJul 17, 2023
ce76a60
remove unnecessary comment
iritkatrielJul 17, 2023
4194a12
make the tests more precise
iritkatrielJul 17, 2023
6b8c46b
sort the lists
iritkatrielJul 17, 2023
e15f7d5
address some of the code review comments
iritkatrielJul 18, 2023
21fe0a4
remove hard-coded lists from the tests
iritkatrielJul 18, 2023
75795db
remove opcode metadata file from generated files list so diff are vis…
iritkatrielJul 18, 2023
1a0a2b2
import _opcode directly into dis, rather than via opcode
iritkatrielJul 18, 2023
f530469
add stack effect to dis.__all__
iritkatrielJul 18, 2023
71ffe34
Merge branch 'main' into opcode_py
iritkatrielJul 18, 2023
d525c53
import _specializations, _specialized_instructions directly from _opc…
iritkatrielJul 18, 2023
5e1c4a4
update Tools/scripts/summarize_stats.py to use _opcode_metadata inste…
iritkatrielJul 18, 2023
6077263
Revert "update Tools/scripts/summarize_stats.py to use _opcode_metada…
iritkatrielJul 18, 2023
98ba11f
Revert "import _specializations, _specialized_instructions directly f…
iritkatrielJul 18, 2023
cc8e5e1
Revert "add stack effect to dis.__all__"
iritkatrielJul 18, 2023
31dbfec
Revert "import _opcode directly into dis, rather than via opcode"
iritkatrielJul 18, 2023
1abf6ca
Merge branch 'main' into opcode_py
iritkatrielJul 18, 2023
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
PrevPrevious commit
NextNext commit
remove unnecessary comment
  • Loading branch information
@iritkatriel
iritkatriel authoredJul 17, 2023
commitce76a60a60b8d6be39dba4983c8e57d6ad5b2e90
2 changes: 1 addition & 1 deletionLib/opcode.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -254,7 +254,7 @@ def pseudo_op(name, op, real_ops):
__all__.extend(["hasarg", "hasconst", "hasname", "hasjump", "hasjrel",
"hasjabs", "hasfree", "haslocal", "hasexc"])

hascompare = [opmap["COMPARE_OP"]] # for backwards compatibility
hascompare = [opmap["COMPARE_OP"]]

_nb_ops = [
("NB_ADD", "+"),
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp