From 830dcf3bd9a88235147e2e61f05811b0af1cc5ff Mon Sep 17 00:00:00 2001 From: "Jeong, YunWon" Date: Mon, 2 Feb 2026 13:02:04 +0900 Subject: [PATCH 1/3] fix asyncio --- crates/codegen/src/compile.rs | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/crates/codegen/src/compile.rs b/crates/codegen/src/compile.rs index a306ed8d62a..5af3066c9b4 100644 --- a/crates/codegen/src/compile.rs +++ b/crates/codegen/src/compile.rs @@ -2952,7 +2952,14 @@ impl Compiler { target: cleanup_end } ); - self.push_fblock(FBlockType::HandlerCleanup, cleanup_end, cleanup_end)?; + self.push_fblock_full( + FBlockType::HandlerCleanup, + cleanup_end, + cleanup_end, + FBlockDatum::ExceptionName( + name.as_ref().unwrap().as_str().to_owned(), + ), + )?; Some(cleanup_end) } else { // no SETUP_CLEANUP for unnamed handler @@ -3324,7 +3331,16 @@ impl Compiler { target: handler_except_block } ); - self.push_fblock(FBlockType::HandlerCleanup, next_block, end_block)?; + self.push_fblock_full( + FBlockType::HandlerCleanup, + next_block, + end_block, + if let Some(alias) = name { + FBlockDatum::ExceptionName(alias.as_str().to_owned()) + } else { + FBlockDatum::None + }, + )?; // Execute handler body self.compile_statements(body)?; From 13e3527955c2ba99719ce61b65e6dcb8b59b66fb Mon Sep 17 00:00:00 2001 From: "Jeong, YunWon" Date: Mon, 2 Feb 2026 14:27:37 +0900 Subject: [PATCH 2/3] remove test_asyncio from windows_skip --- .github/workflows/ci.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2ad371137a1..d0b08f467b5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,7 +29,6 @@ env: # test_posixpath: OSError: (22, 'The filename, directory name, or volume label syntax is incorrect. (os error 123)') # test_venv: couple of failing tests WINDOWS_SKIPS: >- - test_asyncio test_glob test_rlcompleter test_pathlib From 89943fa14b6da602b7e8f9913b9d5aefd5b763b7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 2 Feb 2026 05:28:55 +0000 Subject: [PATCH 3/3] Auto-format: cargo fmt --all --- crates/codegen/src/compile.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/codegen/src/compile.rs b/crates/codegen/src/compile.rs index 5af3066c9b4..9b59d9da8c7 100644 --- a/crates/codegen/src/compile.rs +++ b/crates/codegen/src/compile.rs @@ -2956,9 +2956,7 @@ impl Compiler { FBlockType::HandlerCleanup, cleanup_end, cleanup_end, - FBlockDatum::ExceptionName( - name.as_ref().unwrap().as_str().to_owned(), - ), + FBlockDatum::ExceptionName(name.as_ref().unwrap().as_str().to_owned()), )?; Some(cleanup_end) } else {