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
Default the warning checker's optional path prefix to an empty string #159338
The optional --path-prefix argument of Tools/build/check_warnings.py defaults to None. Parsing a warning then calls str.removeprefix(None), so the tool fails unless a prefix is supplied.
Reproducer, run with the interpreter built from the CPython checkout:
Activity
pythongh-159338: Add NEWS entry for warnings-default-path-prefix
picnixz commentedon Oct 14, 2026
See #159336 (comment).