Repository navigation
codegen error handling bugs #156466
Copy link
Copy link
Open
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
I'm reviewing codegen and seeing some bugs in cleanup on errors, in particular scope enter/exit bugs.
Will use this issue to track them.
Linked PRs
- gh-156466: fix cleanup on error after Enter in codegen_enter_scope #156467
- gh-156466: fix cleanup on error in codegen_setup_annotations_scope #156473
- gh-156466: fix cleanup on error in codegen_leave_annotations_scope #156497
- [3.15] gh-156466: fix cleanup on error in codegen_setup_annotations_scope (#156473) #156498
- [3.14] gh-156466: fix cleanup on error in codegen_setup_annotations_scope (#156473) #156499
- gh-156466: fix cleanup on error in codegen_function_annotations #156502
- gh-156466: fix cleanup on error in codegen_class_body #156507
- [3.15] gh-156466: fix cleanup on error in codegen_function_annotations (GH-156502) #156508
- [3.14] gh-156466: fix cleanup on error in codegen_function_annotations (GH-156502) #156509
- gh-156466: fix cleanup on error in codegen_function_body #156511
- [3.15] gh-156466: fix cleanup on error in codegen_leave_annotations_scope #156520
- [3.14] gh-156466: fix cleanup on error in codegen_leave_annotations_scope #156522
- [3.15] gh-156466: fix cleanup on error in codegen_class_body (GH-156507) #156535
- [3.14] gh-156466: fix cleanup on error in codegen_class_body (GH-156507) #156536
- gh-156466: Fix additional compiler scope cleanup errors #156547
- [3.15] gh-156466: Fix additional compiler scope cleanup errors (GH-156547) #156571
- [3.14] gh-156466: Fix additional compiler scope cleanup errors (GH-156547) #156572
- [3.15] gh-156466: fix cleanup on error in codegen_function_body (GH-156511) #156578
- [3.14] gh-156466: fix cleanup on error in codegen_function_body (GH-156511) #156579
- [3.13] gh-156466: Fix additional compiler scope cleanup errors (GH-156547) #156582
- [3.13] gh-156466: fix cleanup on error after Enter in codegen_enter_scope #156615
- [3.15] gh-156466: fix cleanup on error after Enter in codegen_enter_scope (GH-156467) #156616
- [3.14]gh-156466: fix cleanup on error after Enter in codegen_enter_scope (#156467) #156617
- gh-156466: ensure in codegen that a pushed COMPILE_FBLOCK_ASYNC_COMPREHENSION_GENERATOR is always popped #157338
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Activity
gh-156466: fix cleanup on error in codegen_setup_annotations_scope (#…
pythongh-156466: fix cleanup on error in codegen_setup_annotations_sc…
[3.14] gh-156466: fix cleanup on error in codegen_setup_annotations_s…
gh-156466: fix cleanup on error in codegen_function_annotations (#156502
Merge branch 'main' into pythongh-156466-3
gh-156466: fix cleanup on error in codegen_leave_annotations_scope (#…
[3.14] gh-156466: fix cleanup on error in codegen_function_annotations (
Merge branch 'main' into pythongh-156466-5
gh-156466: fix cleanup on error in codegen_class_body (#156507)
[3.14] gh-156466: fix cleanup on error in codegen_class_body (GH-156507…
gh-156466: Fix additional compiler scope cleanup errors (#156547)
[3.14] gh-156466: Fix additional compiler scope cleanup errors (GH-15…
Merge branch 'main' into pythongh-156466-1
5 remaining items
[3.14]gh-156466: fix cleanup on error after Enter in codegen_enter_sc…
[3.15] gh-156466: Fix additional compiler scope cleanup errors (GH-15…
pythongh-156466: fix cleanup on error in codegen_function_annotations (…
pythongh-156466: fix cleanup on error in codegen_leave_annotations_sc…
pythongh-156466: fix cleanup on error in codegen_class_body (python#1…
pythongh-156466: Fix additional compiler scope cleanup errors (python…
pythongh-156466: fix cleanup on error in codegen_function_body (pytho…
pythongh-156466: fix cleanup on error after Enter in codegen_enter_sc…
[3.13] gh-156466: fix cleanup on error after Enter in codegen_enter_s…
[3.15] gh-156466: fix cleanup on error in codegen_function_annotations (
[3.15] gh-156466: fix cleanup on error in codegen_class_body (GH-156507…
[3.15] gh-156466: fix cleanup on error in codegen_function_body (GH-1…
[3.15] gh-156466: fix cleanup on error after Enter in codegen_enter_s…
[3.15] gh-156466: fix cleanup on error in codegen_setup_annotations_s…
[3.15] gh-156466: fix cleanup on error in codegen_leave_annotations_s…