gh-145783: Propagate errors raised in `NEW_TYPE_COMMENT` (#145784) · python/cpython@e1c2246 · GitHub
Skip to content

Commit e1c2246

Browse files
gh-145783: Propagate errors raised in NEW_TYPE_COMMENT (#145784)
1 parent 6d1e9ce commit e1c2246

5 files changed

Lines changed: 559 additions & 536 deletions

File tree

Lib/test/test_type_comments.py

Lines changed: 8 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix an unlikely crash in the parser when certain errors were erroneously not
2+
propagated. Found by OSS Fuzz in :oss-fuzz:`491369109`.

Modules/_testcapimodule.c

Lines changed: 13 additions & 0 deletions

0 commit comments

Comments
 (0)