Skip to content

Log UTF-8 mode and PYTHONCOERCECLOCALE in regrtest header - #161959

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:regrtest_encodings
Nov 14, 2026
Merged

vstinner merged 2 commits into
python:mainfrom
vstinner:regrtest_encodings

Conversation

@vstinner

Copy link
Copy Markdown
Member

If the UTF-8 mode is disabled and/or if PYTHONCOERCECLOCALE environment variable is set to "0": mention it in the "== encodings" regrtest header.

Also, if the locale encoding and the filesystem encoding are equal, log "locale=FS=" to have a shorter output.

If the UTF-8 mode is disabled and/or if PYTHONCOERCECLOCALE
environment variable is set to "0": mention it in the "== encodings"
regrtest header.

Also, if the locale encoding and the filesystem encoding are equal,
log "locale=FS=<encoding>" to have a shorter output.
@vstinner
vstinner enabled auto-merge (squash) November 14, 2026 00:07
@vstinner
vstinner merged commit f4fbacf into python:main Nov 14, 2026
60 checks passed
@vstinner
vstinner deleted the regrtest_encodings branch November 14, 2026 00:31
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.

1 participant