8000 gh-98831: rewrite pattern matching opcodes in the instruction definition DSL by iritkatriel · Pull Request #101287 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-98831: rewrite pattern matching opcodes in the instruction definition DSL #101287

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 5 commits into from
Jan 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Brandt's suggestion
  • Loading branch information
iritkatriel committed Jan 24, 2023
commit 46f09753d684c9a0ac95a252ae9640fdfa592d63
6 changes: 2 additions & 4 deletions Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -2103,11 +2103,9 @@ dummy_func(
// Success!
assert(PyTuple_CheckExact(attrs));
}
else if (_PyErr_Occurred(tstate)) {
// Error!
ERROR_IF(true, error);
}
else {
// Error!
ERROR_IF(_PyErr_Occurred(tstate), error);
// Failure!
attrs = Py_NewRef(Py_None);
}
Expand Down
6 changes: 2 additions & 4 deletions Python/generated_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0