Skip to content

[3.11] gh-159428: Don't read mimetypes.knownfiles by default on Windows (GH-159445) - #159573

Merged
pablogsal merged 1 commit into
python:3.11from
cjames23:backport-04a29bf-3.11
Oct 25, 2026
Merged

pablogsal merged 1 commit into
python:3.11from
cjames23:backport-04a29bf-3.11

Conversation

@cjames23

@cjames23 cjames23 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Make knownfiles empty on Windows so that only the registry is used by default. Files passed to init() or assigned to knownfiles explicitly are still read. (cherry picked from commit 04a29bf)

… Windows (pythonGH-159445)

Make knownfiles empty on Windows so that only the registry is used by default. Files passed to init() or assigned to knownfiles explicitly are still read.
(cherry picked from commit 04a29bf)

Co-authored-by: Cary Hawkins <hawkinscary23@gmail.com>
@cjames23
cjames23 requested a review from a team as a code owner October 16, 2026 19:32
@pablogsal
pablogsal merged commit 35dd324 into python:3.11 Oct 25, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants