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

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Jan 8, 2025

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
Copy link

python-cla-bot bot commented Apr 18, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

Copy link
Member

@encukou encukou left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

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