You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect information about exception raised if source contains null bytes for ast.parse() and compile() #122461
Docs for compile() and ast.parse() say they raise ValueError for source contains null bytes. However, since 3.12 (#97594), SyntaxError is raised instead:
Activity