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-98831: Refactor generate_cases.py #99408

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

Closed
wants to merge 36 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
9f15c4b
Support simple cache effects
gvanrossum Nov 10, 2022
6189043
More BINARY_OP instructions
gvanrossum Nov 10, 2022
f5e1aed
Merge remote-tracking branch 'origin/main' into cache-effects
gvanrossum Nov 10, 2022
a8d608d
Tweak dummy definitions in bytecodes.c after merge
gvanrossum Nov 10, 2022
4ee85e7
gh-99300: Use Py_NewRef() in Objects/ directory (#99332)
vstinner Nov 10, 2022
873da31
gh-99300: Use Py_NewRef() in Objects/dictobject.c (#99333)
vstinner Nov 10, 2022
e0ab5b8
gh-90110: Update the C-analyzer Tool (gh-99307)
ericsnowcurrently Nov 10, 2022
882fdec
gh-99277: remove older version of `get_write_buffer_limits` (#99280)
csuriano23 Nov 10, 2022
8226fb9
gh-99204: Calculate base_executable by alternate names in POSIX venvs…
vfazio Nov 10, 2022
1aa0124
GH-99298: Don't perform jumps before error handling (GH-99299)
brandtbucher Nov 10, 2022
d094e42
GH-98831: Remove all remaining DISPATCH() calls from bytecodes.c (#99…
gvanrossum Nov 10, 2022
d3d907a
Remaining BINARY_OP family members
gvanrossum Nov 10, 2022
0339a67
Uniformly skip 'unused' effects
gvanrossum Nov 10, 2022
f3e7dd6
Remove superfluous asserts; fix one 'is not'
gvanrossum Nov 10, 2022
e3ff6ac
Make BINARY_OP result unused
gvanrossum Nov 11, 2022
3db443a
Fix parser for family()
gvanrossum Nov 11, 2022
c58a85a
Check family consistency
gvanrossum Nov 11, 2022
756a41b
Add first family (binary_op)
gvanrossum Nov 11, 2022
48400ac
Add assert() to double-check cache struct size
gvanrossum Nov 11, 2022
433243a
Merge commit '00ee6d506e' into cache-effects
gvanrossum Nov 11, 2022
3d51484
Merge commit '694cdb24a6' into cache-effects
gvanrossum Nov 11, 2022
4d42a0a
Merge remote-tracking branch 'origin/main' into cache-effects
gvanrossum Nov 11, 2022
ff8e0ec
Merge remote-tracking branch 'origin/main' into cache-effects
gvanrossum Nov 11, 2022
ea16382
Make family() macro variadic
gvanrossum Nov 11, 2022
8eadf1c
Merge remote-tracking branch 'origin/main' into cache-effects
gvanrossum Nov 11, 2022
205f12e
Show correct lineno on error; get rid of eopen()
gvanrossum Nov 11, 2022
bdba4d2
Kill -q flag
gvanrossum Nov 11, 2022
bf10431
Refactor generate_cases.py. Tweak output a teensy bit.
gvanrossum Nov 12, 2022
4cfcf77
Further refactor
gvanrossum Nov 12, 2022
a280167
Merge remote-tracking branch 'origin/main' into cases-refactor
gvanrossum Nov 12, 2022
382e248
Make {In,Out}putEffect unions instead of classes
gvanrossum Nov 13, 2022
b5c8a9f
Fix some mypy errors
gvanrossum Nov 13, 2022
387fbe1
Move check_overlaps to generate_cases.py
gvanrossum Nov 13, 2022
d682118
Fix cache effect when used
gvanrossum Nov 13, 2022
14e75f1
Demonstrate cache effect with BINARY_SUBSCR
gvanrossum Nov 13, 2022
1a5356b
Fix test crashes by fiddling DECREF order in BINARY_SUBSCR_DICT
gvanrossum Nov 14, 2022
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
Merge remote-tracking branch 'origin/main' into cases-refactor
  • Loading branch information
gvanrossum committed Nov 12, 2022
commit a2801675f0400aa86b7a19c630dd10a4cf503f81

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.