https://github.com/python/cpython/commit/40095d526bd8ddbabee0603c2b502ed6807e5f4d
commit: 40095d526bd8ddbabee0603c2b502ed6807e5f4d
branch: main
author: Stan Ulbrych <[email protected]>
committer: sethmlarson <[email protected]>
date: 2026-03-15T18:54:20-05:00
summary:

Expand `fuzz_pycompile.dict` for new syntax

files:
M Modules/_xxtestfuzz/dictionaries/fuzz_pycompile.dict

diff --git a/Modules/_xxtestfuzz/dictionaries/fuzz_pycompile.dict 
b/Modules/_xxtestfuzz/dictionaries/fuzz_pycompile.dict
index c6a44d946284ef..d36f55a40905d2 100644
--- a/Modules/_xxtestfuzz/dictionaries/fuzz_pycompile.dict
+++ b/Modules/_xxtestfuzz/dictionaries/fuzz_pycompile.dict
@@ -52,7 +52,9 @@
 
 # whitespace
 "  "
+"\\t"
 ":\\n  "
+"\\\n"
 
 # type signatures and functions
 "-> "
@@ -88,6 +90,8 @@
 # variable names
 "x"
 "y"
+"_"
+"*x"
 
 # strings
 "r'x'"
@@ -98,12 +102,24 @@
 
 "br\"x\""
 
+"u\"x\""
+
 "f'{x + 5}'"
 "f\"{x + 5}\""
+"f'{s!r}'"
+"f'{s!s}'"
+"f'{s!a}'"
+"f'{x=}'"
+
+"t'{s + 5}'"
+"t\"{s + 5}\""
+"tr's'"
+"rt\"s\""
 
 "'''"
 "\"\"\""
 
+"\\N"
 "\\u"
 "\\x"
 
@@ -131,6 +147,7 @@
 "while "
 "try: "
 "except "
+"except* "
 "finally: "
 "with "
 "lambda "
@@ -148,6 +165,10 @@
 "in "
 "is "
 "class "
+"match "
+"case "
+"type "
+"lazy "
 
 # shebangs and encodings
 "#!"

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to