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 diff --git a/crates/codegen/src/compile.rs b/crates/codegen/src/compile.rs index a306ed8d62a..9b59d9da8c7 100644 --- a/crates/codegen/src/compile.rs +++ b/crates/codegen/src/compile.rs @@ -2952,7 +2952,12 @@ 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 +3329,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)?;