René's URL Explorer Experiment


Title: gh-93417: Improve test_mimetypes by serhiy-storchaka · Pull Request #150725 · python/cpython · GitHub

Open Graph Title: gh-93417: Improve test_mimetypes by serhiy-storchaka · Pull Request #150725 · python/cpython

X Title: gh-93417: Improve test_mimetypes by serhiy-storchaka · Pull Request #150725 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Separate tests for module-level API and for the MimeTypes class. Add tests for mimetypes.init() and MimeTypes() with knownfiles and with explicitly passed files. Issue: Regression on initializat...

X Description: Separate tests for module-level API and for the MimeTypes class. Add tests for mimetypes.init() and MimeTypes() with knownfiles and with explicitly passed files. Issue: Regression on initializat...

Opengraph URL: https://github.com/python/cpython/pull/150725

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:5e430b85-204c-5496-6813-e1fb2c569998
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE978:EEE6F:63FE9:85ABF:6AECBE1A
html-safe-nonce5167bab01861727e835aa59703d01498219612a630ad76b6d1b17e83345ee8f6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTc4OkVFRTZGOjYzRkU5Ojg1QUJGOjZBRUNCRTFBIiwidmlzaXRvcl9pZCI6IjY3MTcwODY1NjUwNDI3OTgxMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8bbf11c30ce33a3928e572821653cc06d30eddfd85095e0e114fd2950b50a55c
hovercard-subject-tagpull_request:3782433542
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/150725/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fdbedccde677c6b10d8f81411534c3a5f4413e0e80018d256e91a35b758e5387/python/cpython/pull/150725
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fdbedccde677c6b10d8f81411534c3a5f4413e0e80018d256e91a35b758e5387/python/cpython/pull/150725
og:image:altSeparate tests for module-level API and for the MimeTypes class. Add tests for mimetypes.init() and MimeTypes() with knownfiles and with explicitly passed files. Issue: Regression on initializat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None95ae5445dec4cded2bc4f9d97ede92b9116c0bf381a08a5c844b60b5bddcbc97
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedb4ef601a7f034ae2a68e17d6eeaeb7ee9470192
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/150725#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150725
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150725
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/150725
Reloadhttps://github.com/python/cpython/pull/150725
Reloadhttps://github.com/python/cpython/pull/150725
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.3k (2.3k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/pulse
https://github.com/python/cpython
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:test-mimetypes-init-fileshttps://github.com/serhiy-storchaka/cpython/tree/test-mimetypes-init-files
Conversationhttps://github.com/python/cpython/pull/150725
Commits1 (1)https://github.com/python/cpython/pull/150725/commits
Checkshttps://github.com/python/cpython/pull/150725/checks
Files changedhttps://github.com/python/cpython/pull/150725/files
gh-93417: Improve test_mimetypeshttps://github.com/python/cpython/pull/150725#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:test-mimetypes-init-fileshttps://github.com/serhiy-storchaka/cpython/tree/test-mimetypes-init-files
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 1, 2026https://github.com/python/cpython/pull/150725#issue-4564853947
Please reload this pagehttps://github.com/python/cpython/pull/150725
Regression on initialization and new non-deterministic behavior issue in mimetypes #93417https://github.com/python/cpython/issues/93417
Please reload this pagehttps://github.com/python/cpython/pull/150725
https://github.com/serhiy-storchaka
pythongh-93417https://github.com/python/cpython/issues/93417
: Improve test_mimetypeshttps://github.com/python/cpython/pull/150725/commits/e51580105c2eaae81c6da3b2785fec0690de6ae7
e515801https://github.com/python/cpython/pull/150725/commits/e51580105c2eaae81c6da3b2785fec0690de6ae7
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
code ownerhttps://github.com/python/cpython/blob/4996b99695a04c247de5b1fd5a38674a9d0775c6/.github/CODEOWNERS#L452
June 1, 2026 16:53https://github.com/python/cpython/pull/150725#event-26198190843
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jun 1, 2026https://github.com/python/cpython/pull/150725#event-26198191304
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 1, 2026 https://github.com/python/cpython/pull/150725#ref-issue-1256440056
Regression on initialization and new non-deterministic behavior issue in mimetypes #93417 https://github.com/python/cpython/issues/93417
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 1, 2026https://github.com/python/cpython/pull/150725#event-26198196501
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
b23646ahttps://github.com/python/cpython/commit/b23646adf1f484d6ee61ea04529b48443508715a
Jun 1, 2026https://github.com/python/cpython/pull/150725#event-26204952573
Please reload this pagehttps://github.com/python/cpython/pull/150725
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 1, 2026https://github.com/python/cpython/pull/150725#issuecomment-4596037816
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/150725
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 1, 2026https://github.com/python/cpython/pull/150725#event-26204954956
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
June 1, 2026 20:02https://github.com/python/cpython/pull/150725#event-26204955769
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 1, 2026https://github.com/python/cpython/pull/150725#issuecomment-4596038248
@serhiy-storchakahttps://github.com/serhiy-storchaka
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/150725
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 1, 2026https://github.com/python/cpython/pull/150725#event-26204958754
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 1, 2026https://github.com/python/cpython/pull/150725#issuecomment-4596038936
@serhiy-storchakahttps://github.com/serhiy-storchaka
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/150725
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 1, 2026https://github.com/python/cpython/pull/150725#issuecomment-4596039398
@serhiy-storchakahttps://github.com/serhiy-storchaka
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/150725
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/150725#ref-pullrequest-4890755755
[3.15] gh-93417: Improve test_mimetypes (GH-150725) #153748 https://github.com/python/cpython/pull/153748
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 15, 2026https://github.com/python/cpython/pull/150725#issuecomment-4978557175
GH-153748https://github.com/python/cpython/pull/153748
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/150725
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jul 15, 2026https://github.com/python/cpython/pull/150725#event-28005625532
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/150725#ref-pullrequest-4890838151
[3.14] gh-93417: Improve test_mimetypes (GH-150725) #153749 https://github.com/python/cpython/pull/153749
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 15, 2026https://github.com/python/cpython/pull/150725#issuecomment-4978658981
GH-153749https://github.com/python/cpython/pull/153749
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/150725
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Jul 15, 2026https://github.com/python/cpython/pull/150725#event-28006120922
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/150725#ref-pullrequest-4890841219
[3.13] gh-93417: Improve test_mimetypes (GH-150725) #153750 https://github.com/python/cpython/pull/153750
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 15, 2026https://github.com/python/cpython/pull/150725#issuecomment-4978662492
GH-153750https://github.com/python/cpython/pull/153750
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/150725
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Jul 15, 2026https://github.com/python/cpython/pull/150725#event-28006138199
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026https://github.com/python/cpython/pull/150725#event-28006223759
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/150725#ref-commit-824df7f
https://github.com/serhiy-storchaka
[3.13]https://github.com/python/cpython/commit/824df7fe7a38cfa1326f242031c19475cc26fdf4
gh-93417https://github.com/python/cpython/issues/93417
: Improve test_mimetypes (https://github.com/python/cpython/commit/824df7fe7a38cfa1326f242031c19475cc26fdf4
GH-150725https://github.com/python/cpython/pull/150725
) (https://github.com/python/cpython/commit/824df7fe7a38cfa1326f242031c19475cc26fdf4
GH-153750https://github.com/python/cpython/pull/153750
)https://github.com/python/cpython/commit/824df7fe7a38cfa1326f242031c19475cc26fdf4
824df7fhttps://github.com/python/cpython/commit/824df7fe7a38cfa1326f242031c19475cc26fdf4
b23646ahttps://github.com/python/cpython/commit/b23646adf1f484d6ee61ea04529b48443508715a
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/150725#ref-commit-d4e7a84
https://github.com/serhiy-storchaka
[3.14]https://github.com/python/cpython/commit/d4e7a842ce81a18aa5e2e7d071768f0a9892d97b
gh-93417https://github.com/python/cpython/issues/93417
: Improve test_mimetypes (https://github.com/python/cpython/commit/d4e7a842ce81a18aa5e2e7d071768f0a9892d97b
GH-150725https://github.com/python/cpython/pull/150725
) (https://github.com/python/cpython/commit/d4e7a842ce81a18aa5e2e7d071768f0a9892d97b
GH-153749https://github.com/python/cpython/pull/153749
)https://github.com/python/cpython/commit/d4e7a842ce81a18aa5e2e7d071768f0a9892d97b
d4e7a84https://github.com/python/cpython/commit/d4e7a842ce81a18aa5e2e7d071768f0a9892d97b
b23646ahttps://github.com/python/cpython/commit/b23646adf1f484d6ee61ea04529b48443508715a
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/150725#ref-commit-22eff88
https://github.com/serhiy-storchaka
[3.15]https://github.com/python/cpython/commit/22eff887f7565d24b6ba54bc147672d3ecdd8cf7
gh-93417https://github.com/python/cpython/issues/93417
: Improve test_mimetypes (https://github.com/python/cpython/commit/22eff887f7565d24b6ba54bc147672d3ecdd8cf7
GH-150725https://github.com/python/cpython/pull/150725
) (https://github.com/python/cpython/commit/22eff887f7565d24b6ba54bc147672d3ecdd8cf7
GH-153748https://github.com/python/cpython/pull/153748
)https://github.com/python/cpython/commit/22eff887f7565d24b6ba54bc147672d3ecdd8cf7
22eff88https://github.com/python/cpython/commit/22eff887f7565d24b6ba54bc147672d3ecdd8cf7
b23646ahttps://github.com/python/cpython/commit/b23646adf1f484d6ee61ea04529b48443508715a
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150725
Please reload this pagehttps://github.com/python/cpython/pull/150725
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Please reload this pagehttps://github.com/python/cpython/pull/150725
https://github.com/serhiy-storchaka
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.