]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Expand `fuzz_pycompile.dict` for new syntax
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Sun, 15 Mar 2026 23:54:20 +0000 (23:54 +0000)
committerGitHub <noreply@github.com>
Sun, 15 Mar 2026 23:54:20 +0000 (18:54 -0500)
Modules/_xxtestfuzz/dictionaries/fuzz_pycompile.dict

index c6a44d946284efff04b8be310a7c447c389916f7..d36f55a40905d241e515cde152cbce8cfa1375b1 100644 (file)
@@ -52,7 +52,9 @@
 
 # whitespace
 "  "
+"\\t"
 ":\\n  "
+"\\\n"
 
 # type signatures and functions
 "-> "
@@ -88,6 +90,8 @@
 # variable names
 "x"
 "y"
+"_"
+"*x"
 
 # strings
 "r'x'"
 
 "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"
 
 "while "
 "try: "
 "except "
+"except* "
 "finally: "
 "with "
 "lambda "
 "in "
 "is "
 "class "
+"match "
+"case "
+"type "
+"lazy "
 
 # shebangs and encodings
 "#!"