Skip to content

[3.14] Backport regrtest changes from the main branch - #162298

Merged
vstinner merged 3 commits into
python:3.14from
vstinner:regrtest14
Nov 19, 2026
Merged

vstinner merged 3 commits into
python:3.14from
vstinner:regrtest14

Conversation

@vstinner

Copy link
Copy Markdown
Member

No description provided.

* Enhance encodings in regrtest header (python#161959)

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

If the locale encoding and the filesystem encoding are equal,
log "locale=FS=<encoding>" to have a shorter output.

On Windows, log ANSI and OEM code pages.

Backport to 3.15: add types and _winapi imports to libregrtest.utils.

(cherry picked from commit f4fbacf)

* Display test header when running python -m test --tsan (python#162249)

When running "python -m test" with --tsan or --tsan-parallel,
display the test header (log TSAN_OPTIONS env var).

(cherry picked from commit 53f4cad)

* Add missing types import

(cherry picked from commit ecf8cfe)
On Python 3.14, it's disabled by default.
@vstinner
vstinner merged commit 4ab8d5e into python:3.14 Nov 19, 2026
57 of 58 checks passed
@vstinner
vstinner deleted the regrtest14 branch November 19, 2026 23:58
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