]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-130907: Treat all module-level annotations as conditional (#131550)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Mon, 28 Apr 2025 13:10:28 +0000 (06:10 -0700)
committerGitHub <noreply@github.com>
Mon, 28 Apr 2025 13:10:28 +0000 (06:10 -0700)
commit922049b613d155ade4c4a8f83452767bea003a9f
treec466659499780de432b0d77a803d3adfbe739174
parent5bf0f3666e272798789ff900b1071760c73b46fd
gh-130907: Treat all module-level annotations as conditional (#131550)
21 files changed:
Include/internal/pycore_compile.h
Include/internal/pycore_instruction_sequence.h
Include/internal/pycore_opcode_metadata.h
Include/opcode_ids.h
Lib/_opcode_metadata.py
Lib/test/test_compiler_codegen.py
Lib/test/test_dis.py
Lib/test/test_grammar.py
Lib/test/test_type_annotations.py
Lib/test/typinganndata/partialexecution/__init__.py [new file with mode: 0644]
Lib/test/typinganndata/partialexecution/a.py [new file with mode: 0644]
Lib/test/typinganndata/partialexecution/b.py [new file with mode: 0644]
Makefile.pre.in
Misc/NEWS.d/next/Core_and_Builtins/2025-03-21-08-47-36.gh-issue-130907.rGg-ge.rst [new file with mode: 0644]
Objects/moduleobject.c
Python/bytecodes.c
Python/codegen.c
Python/compile.c
Python/flowgraph.c
Python/instruction_sequence.c
Python/symtable.c