-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Failed assertion in codegen_nameop
#133516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-parser
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
TERESH1
added a commit
to TERESH1/cpython
that referenced
this issue
May 6, 2025
I couldn't reproduce this:
|
Configure without |
pablogsal
pushed a commit
that referenced
this issue
May 7, 2025
…` are used as an identifier after NFKC normalization (#133523)
This was referenced May 7, 2025
pablogsal
pushed a commit
that referenced
this issue
May 7, 2025
TERESH1
added a commit
to TERESH1/cpython
that referenced
this issue
May 8, 2025
…lse` or `None` are used as an identifier after NFKC normalization (pythonGH-133523) (cherry picked from commit d9b0b07)
TERESH1
added a commit
to TERESH1/cpython
that referenced
this issue
May 8, 2025
…lse` or `None` are used as an identifier after NFKC normalization (pythonGH-133523) (cherry picked from commit d9b0b07)
pablogsal
pushed a commit
that referenced
this issue
May 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-parser
type-crash
A hard crash of the interpreter, possibly with a core dump
Uh oh!
There was an error while loading. Please reload this page.
Crash report
What happened?
The
_PyPegen_new_identifier
function normalizes to NFKC non-ASCII strings, which allows you to set keywords (None, True, False) with a different character representation as an identifier.Found by Linux Verification Center (portal.linuxtesting.ru) with libFuzzer
Author S.Tereshin ([email protected])
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Python 3.14.0a7+ (heads/main-dirty:3dfed2309, May 6 2025, 13:36:58) [Clang 18.1.8 (Fedora 18.1.8-1.fc40)]
Linked PRs
ValueError
when constantsTrue
,False
orNone
are used as an identifier after NFKC normalization #133523ValueError
when constantsTrue
,False
orNone
are used as an identifier after NFKC normalization (GH-133523) #133596ValueError
when constantsTrue
,False
orNone
are used as an identifier after NFKC normalization (GH-133523) #133615The text was updated successfully, but these errors were encountered: