GH-98831: Refactor generate_cases.py by gvanrossum · Pull Request #99408 · python/cpython · GitHub

github.com

Tin mới

gvanrossum:cases-refactor

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Generate the interpreter #98831

Support simple cache effects

More BINARY_OP instructions

Merge remote-tracking branch 'origin/main' into cache-effects

Tweak dummy definitions in bytecodes.c after merge

: Use Py_NewRef() in Objects/ directory (

: Use Py_NewRef() in Objects/dictobject.c (

: Update the C-analyzer Tool (

: remove older version of

: Calculate base_executable by alternate names in POSIX…

: Don't perform jumps before error handling (

: Remove all remaining DISPATCH() calls from bytecodes.c (

Remaining BINARY_OP family members

Uniformly skip 'unused' effects

Remove superfluous asserts; fix one 'is not'

Make BINARY_OP result unused

Fix parser for family()

Check family consistency

Add first family (binary_op)

Add assert() to double-check cache struct size

Merge commit '00ee6d506e' into cache-effects

Merge commit '694cdb24a6' into cache-effects

Merge remote-tracking branch 'origin/main' into cache-effects

Merge remote-tracking branch 'origin/main' into cache-effects

Make family() macro variadic

Merge remote-tracking branch 'origin/main' into cache-effects

Show correct lineno on error; get rid of eopen()

awaiting core review

Refactor generate_cases.py. Tweak output a teensy bit.

Merge remote-tracking branch 'origin/main' into cases-refactor