do not call into python api if an exception is set (#24022) · python/cpython@d73aca7 · GitHub
Skip to content

Commit d73aca7

Browse files
committed
do not call into python api if an exception is set (#24022)
1 parent 6de708f commit d73aca7

3 files changed

Lines changed: 18 additions & 5 deletions

File tree

Lib/test/test_compile.py

Lines changed: 13 additions & 1 deletion

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Release date: tba
1010
Core and Builtins
1111
-----------------
1212

13+
- Issue #24022: Fix tokenizer crash when processing undecodable source code.
14+
1315
- Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted
1416
while it is holding a lock to a buffered I/O object, and the main thread
1517
tries to use the same I/O object (typically stdout or stderr). A fatal

Parser/tokenizer.c

Lines changed: 3 additions & 4 deletions

0 commit comments

Comments
 (0)