FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-75223: Deprecate undotted extensions in `mimetypes.MimeTypes.add_type` by hugovk · Pull Request #128638 · python/cpython · GitHub

/ cpython Public

gh-75223: Deprecate undotted extensions in mimetypes.MimeTypes.add_type - #128638

Merged
hugovk merged 20 commits into
python:mainfrom
hugovk:3.14-deprecate-undotted-mimetypes
Apr 28, 2025
Merged

gh-75223: Deprecate undotted extensions in mimetypes.MimeTypes.add_type#128638
hugovk merged 20 commits into
python:mainfrom
hugovk:3.14-deprecate-undotted-mimetypes

Conversation

hugovk commented Jan 8, 2025
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member

As suggested by @encukou at #2895 (comment), we should deprecate this before raising a backwards-incompatible ValueError.

This PR is the first step to add a deprecation warning.


📚 Documentation preview 📚: https://cpython-previews--128638.org.readthedocs.build/

python-cla-bot Bot commented Apr 18, 2025
edited
Loading

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

encukou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good, thank you!

Comment thread Lib/mimetypes.py Outdated
hugovk and others added 2 commits April 28, 2025 16:56
hugovk enabled auto-merge (squash) April 28, 2025 13:57
hugovk merged commit ee9102a into python:main Apr 28, 2025
hugovk deleted the 3.14-deprecate-undotted-mimetypes branch April 28, 2025 14:24
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL