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

Appearance settings

gh-106706: Streamline family syntax #106716

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 39 commits into from
Jul 16, 2023
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
294750d
gh-106706 Streamline family syntax
kgdiem Jul 13, 2023
7dc364c
Update syntax in interpreter_definition.md
kgdiem Jul 13, 2023
dac8eb5
Further refactor bytecodes.c
kgdiem Jul 13, 2023
b05a7f8
Update test
kgdiem Jul 13, 2023
47f2491
Update syntax in interpreter_definition.md
kgdiem Jul 13, 2023
d499926
Update interpreter_definition to new syntax
kgdiem Jul 13, 2023
6fee03d
Use family name as first instruction
kgdiem Jul 13, 2023
d13dbf2
stop using slice in iters
kgdiem Jul 13, 2023
105871c
Remove formatting in interpreter_definition.md
kgdiem Jul 13, 2023
945f09d
Change test
kgdiem Jul 13, 2023
c4ffdc5
Merge branch 'main' into streamline-family-syntax
kgdiem Jul 13, 2023
b588c72
Fix check
kgdiem Jul 13, 2023
e091ca3
Fix assertion
kgdiem Jul 13, 2023
59dedfe
📜🤖 Added by blurb_it.
blurb-it[bot] Jul 13, 2023
868ae1b
lint blurb
kgdiem Jul 13, 2023
ae5cd52
Merge branch 'main' into streamline-family-syntax
kgdiem Jul 13, 2023
843880d
Update Misc/NEWS.d/next/Tools-Demos/2023-07-13-12-08-35.gh-issue-1067…
kgdiem Jul 14, 2023
906c8b2
Remove redundant checks for family member length
kgdiem Jul 14, 2023
c367600
Reword documentation
kgdiem Jul 14, 2023
d31258c
Update test, regenerate headers
kgdiem Jul 14, 2023
9986c2e
keep formatting in interpreter_definiton
kgdiem Jul 14, 2023
1601141
GH-104909: Split `LOAD_ATTR_INSTANCE_VALUE` into micro-ops (GH-106678)
markshannon Jul 13, 2023
8ce84bc
gh-106690: Add a .coveragerc file to the CPython repository (#8150)
ammaraskar Jul 13, 2023
ca8147a
gh-106701: Move the hand-written Tier 2 uops to bytecodes.c (#106702)
gvanrossum Jul 13, 2023
58025d6
gh-106664: selectors: add get() method to _SelectorMapping (#106665)
bdraco Jul 13, 2023
fd9f8d6
docs: clarify Path.suffix (GH-106650)
nedbat Jul 13, 2023
9acddfa
gh-106368: Increase Argument Clinic test coverage (#106728)
erlend-aasland Jul 13, 2023
0941a94
gh-104683: Argument clinic: use an enum to describe the different kin…
AlexWaygood Jul 13, 2023
c15f572
gh-106529: Split FOR_ITER_{LIST,TUPLE} into uops (#106696)
gvanrossum Jul 14, 2023
656c5bc
gh-105626: Change the default return value of `HTTPConnection.get_pro…
sobolevn Jul 14, 2023
642cc0e
gh-105293: Do not call SSL_CTX_set_session_id_context on client side …
grantramsay Jul 14, 2023
2dd5049
gh-106446: Fix failed doctest in stdtypes (#106447)
CharlieZhao95 Jul 14, 2023
ea05f4d
Fix check
kgdiem Jul 13, 2023
178e300
Merge branch 'main' into streamline-family-syntax
erlend-aasland Jul 14, 2023
eab1974
Regen cases
kgdiem Jul 15, 2023
1e68564
Check against family name when emitting cache size check, add family.…
kgdiem Jul 16, 2023
85cbbed
update family syntax in test
kgdiem Jul 16, 2023
82a9927
Regenerate cases
kgdiem Jul 16, 2023
b05e24d
Check families for mac.name instead of last_instr.family
kgdiem Jul 16, 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
Prev Previous commit
Next Next commit
stop using slice in iters
  • Loading branch information
kgdiem committed Jul 13, 2023
commit d13dbf21e6df803a9d93b3cf54d0568f07fdb07b
4 changes: 2 additions & 2 deletions 4 Tools/cases_generator/generate_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ def check_families(self) -> None:
if len(members) < 1:
kgdiem marked this conversation as resolved.
Show resolved Hide resolved
continue
expected_effects = self.effect_counts(family.name)
for member in members[0:]:
for member in members:
member_effects = self.effect_counts(member)
if member_effects != expected_effects:
self.error(
Expand Down Expand Up @@ -1312,7 +1312,7 @@ def write_metadata(self) -> None:
with self.out.indent():
self.out.emit(f"\"{family.name}\": [")
with self.out.indent():
for m in family.members[0:]:
for m in family.members:
self.out.emit(f"\"{m}\",")
self.out.emit(f"],")
self.out.emit("}")
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.