[3.12] gh-105979: Fix exception handling in `unmarshal_frozen_code` (… · python/cpython@b786fe8 · GitHub
Skip to content

Commit b786fe8

Browse files
[3.12] gh-105979: Fix exception handling in unmarshal_frozen_code (Python/import.c) (GH-105980) (#106055)
gh-105979: Fix exception handling in `unmarshal_frozen_code` (`Python/import.c`) (GH-105980) (cherry picked from commit cd52803) Co-authored-by: chgnrdv <52372310+chgnrdv@users.noreply.github.com>
1 parent e9366df commit b786fe8

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

Lib/test/test_import/__init__.py

Lines changed: 8 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix crash in :func:`!_imp.get_frozen_object` due to improper exception handling.

Python/import.c

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)