Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
mimetypes.add_type should complain when you give it an undotted ext #75223
Add a test for mimetypes.add_type
bpo-31040: Reject undotted extensions in mimetypes.add_type
This comment was marked as outdated.
Add dot to extensions of added MIME types astropy/pyvo#622
gh-75223: Deprecate undotted extensions in mimetypes.MimeTypes.add_type #128638
Merge branch 'main' into fix-for-31040
Remove duplicate after merge, add to What's New and tidy up
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
CPython pull requests to have finally merged
gh-149720: Remove support for undotted ext in mimetypes.MimeType.add_type #149721