{{ message }}
gh-145719: Add .efi file detection in mimetypes#145720
Merged
hugovk merged 8 commits intoMar 23, 2026
Merged
Conversation
Member
|
Hi, please don't be too pushy and mention people to review the PR immediately. Python is an open source project and most maintainers are using their spare time to do the work. |
Sorry, something went wrong.
hugovk
reviewed
Mar 12, 2026
hugovk
left a comment
Member
There was a problem hiding this comment.
Confirming IANA reg: https://www.iana.org/assignments/media-types/application/efi
@clin1234 Please could you follow the same pattern as #145718?
- No need for test if it's repeating the MIME type. Useful tests are for when we're testing priority of multiple extensions, or some new code path/logic.
- Add to What's New.
Thanks.
Sorry, something went wrong.
…kJRoK.rst Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Removed redundant MIME type 'application/efi' from test cases.
Hide details
View details
hugovk
merged commit
821581a
into
python:main
Mar 23, 2026
47 checks passed
CuriousLearner
added a commit
to CuriousLearner/cpython
that referenced
this pull request
Mar 24, 2026
…on into fix-pythongh-138577 * 'fix-pythongh-138577' of github.com:CuriousLearner/cpython: pythongh-146202: Create tmp_dir in regrtest worker (python#146347) pythongh-144319: obtain SeLockMemoryPrivilege on Windows (python#144928) pythongh-146199: Fix error handling in `code_richcompare` when `PyObject_RichCompareBool` fails (python#146200) pythongh-146197: Include a bit more information in sys._emscripten_info.runtime (python#146346) pythongh-135871: Reload lock internal state while spinning in `PyMutex_LockTimed` (pythongh-146064) pythongh-145719: Add `.efi` file detection in `mimetypes` (python#145720)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
Source: iana.org/assignments/media-types/application/efi
.efifile detection inmimetypes#145719