Skip to content

Commit 40095d5

Browse files
Expand fuzz_pycompile.dict for new syntax
1 parent 83edae3 commit 40095d5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Modules/_xxtestfuzz/dictionaries/fuzz_pycompile.dict

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@
5252

5353
# whitespace
5454
" "
55+
"\\t"
5556
":\\n "
57+
"\\\n"
5658

5759
# type signatures and functions
5860
"-> "
@@ -88,6 +90,8 @@
8890
# variable names
8991
"x"
9092
"y"
93+
"_"
94+
"*x"
9195

9296
# strings
9397
"r'x'"
@@ -98,12 +102,24 @@
98102

99103
"br\"x\""
100104

105+
"u\"x\""
106+
101107
"f'{x + 5}'"
102108
"f\"{x + 5}\""
109+
"f'{s!r}'"
110+
"f'{s!s}'"
111+
"f'{s!a}'"
112+
"f'{x=}'"
113+
114+
"t'{s + 5}'"
115+
"t\"{s + 5}\""
116+
"tr's'"
117+
"rt\"s\""
103118

104119
"'''"
105120
"\"\"\""
106121

122+
"\\N"
107123
"\\u"
108124
"\\x"
109125

@@ -131,6 +147,7 @@
131147
"while "
132148
"try: "
133149
"except "
150+
"except* "
134151
"finally: "
135152
"with "
136153
"lambda "
@@ -148,6 +165,10 @@
148165
"in "
149166
"is "
150167
"class "
168+
"match "
169+
"case "
170+
"type "
171+
"lazy "
151172

152173
# shebangs and encodings
153174
"#!"

0 commit comments

Comments
 (0)