mirror of
https://github.com/python/cpython.git
synced 2025-12-11 11:31:05 +00:00
gh-135437: Account For Duplicate Names in _PyCode_SetUnboundVarCounts() (gh-135438)
Some checks are pending
Tests / Docs (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
Some checks are pending
Tests / Docs (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
This commit is contained in:
parent
c7f4a80079
commit
56eabea056
3 changed files with 40 additions and 5 deletions
|
|
@ -57,6 +57,13 @@ def spam_with_globals_and_builtins():
|
|||
print(res)
|
||||
|
||||
|
||||
def spam_with_global_and_attr_same_name():
|
||||
try:
|
||||
spam_minimal.spam_minimal
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
|
||||
def spam_full_args(a, b, /, c, d, *args, e, f, **kwargs):
|
||||
return (a, b, c, d, e, f, args, kwargs)
|
||||
|
||||
|
|
@ -190,6 +197,7 @@ TOP_FUNCTIONS = [
|
|||
spam_minimal,
|
||||
spam_with_builtins,
|
||||
spam_with_globals_and_builtins,
|
||||
spam_with_global_and_attr_same_name,
|
||||
spam_full_args,
|
||||
spam_full_args_with_defaults,
|
||||
spam_args_attrs_and_builtins,
|
||||
|
|
@ -258,6 +266,7 @@ STATELESS_CODE = [
|
|||
script_with_globals,
|
||||
spam_full_args_with_defaults,
|
||||
spam_with_globals_and_builtins,
|
||||
spam_with_global_and_attr_same_name,
|
||||
spam_full,
|
||||
]
|
||||
|
||||
|
|
@ -275,6 +284,7 @@ SCRIPT_FUNCTIONS = [
|
|||
*PURE_SCRIPT_FUNCTIONS,
|
||||
script_with_globals,
|
||||
spam_with_globals_and_builtins,
|
||||
spam_with_global_and_attr_same_name,
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue