Skip to content

Expand fuzz_pycompile.dict for modern syntax#145942

Merged
sethmlarson merged 2 commits intopython:mainfrom
StanFromIreland:fuzz_pycompile.dict
Mar 15, 2026
Merged

Expand fuzz_pycompile.dict for modern syntax#145942
sethmlarson merged 2 commits intopython:mainfrom
StanFromIreland:fuzz_pycompile.dict

Conversation

@StanFromIreland
Copy link
Member

Requesting @python/fuzzers for review.

@sethmlarson sethmlarson merged commit 40095d5 into python:main Mar 15, 2026
52 checks passed
@StanFromIreland StanFromIreland deleted the fuzz_pycompile.dict branch March 16, 2026 08:24
" "
"\\t"
":\\n "
"\\\n"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@StanFromIreland I am seeing some fuzzing errors on my branch related to this change:

https://github.com/python/cpython/actions/runs/23167480851/job/67311144393?pr=146033

For some reason I do not see the same errors on other PRs. I tried tracing where the fuzzer parses the entries, and ended up here:

https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/fuzzer/FuzzerUtil.cpp#L81

There I see no parsing of \n, but I could be wrong

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, it should be "\\\\n".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wrote: #146069

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants