↻

mimetypes.add_type should complain when you give it an undotted ext · Issue #75223 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

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

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

3.7 (EOL)end of life

docsDocumentation in the Doc dir

stdlibStandard Library Python modules in the Lib/ directory

bpo-31040: Add warning note about mimetypes.add_type ext argument format #2871

gh-75223: Reject undotted extensions in mimetypes.add_type() #2895

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

⌂git
1/1