Title: mimetypes.guess_extension result changes after mimetypes.init() · Issue #49213 · python/cpython · GitHub
Open Graph Title: mimetypes.guess_extension result changes after mimetypes.init() · Issue #49213 · python/cpython
X Title: mimetypes.guess_extension result changes after mimetypes.init() · Issue #49213 · python/cpython
Description: BPO 4963 Nosy @warsaw, @terryjreedy, @pitrou, @tiran, @abadger, @bitdancer, @bertjwregeer, @vadmium, @zooba, @maxking, @pombredanne, @davidkhess PRs #3062#14375#14376 Files mimetypes-init-test.patchissue4963.patch: stable guess_extension...
Open Graph Description: BPO 4963 Nosy @warsaw, @terryjreedy, @pitrou, @tiran, @abadger, @bitdancer, @bertjwregeer, @vadmium, @zooba, @maxking, @pombredanne, @davidkhess PRs #3062#14375#14376 Files mimetypes-init-test.patc...
X Description: BPO 4963 Nosy @warsaw, @terryjreedy, @pitrou, @tiran, @abadger, @bitdancer, @bertjwregeer, @vadmium, @zooba, @maxking, @pombredanne, @davidkhess PRs #3062#14375#14376 Files mimetypes-init-test.patc...
Opengraph URL: https://github.com/python/cpython/issues/49213
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mimetypes.guess_extension result changes after mimetypes.init()","articleBody":"BPO | [4963](https://bugs.python.org/issue4963)\n--- | :---\nNosy | @warsaw, @terryjreedy, @pitrou, @tiran, @abadger, @bitdancer, @bertjwregeer, @vadmium, @zooba, @maxking, @pombredanne, @davidkhess\nPRs | \u003cli>python/cpython#3062\u003c/li>\u003cli>python/cpython#14375\u003c/li>\u003cli>python/cpython#14376\u003c/li>\nFiles | \u003cli>[mimetypes-init-test.patch](https://bugs.python.org/file17803/mimetypes-init-test.patch \"Uploaded as text/plain at 2010-06-29.19:04:00 by @bitdancer\")\u003c/li>\u003cli>[issue4963.patch](https://bugs.python.org/file34821/issue4963.patch \"Uploaded as text/plain at 2014-04-14.16:08:16 by @abadger\"): stable guess_extension patch and test\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = 'https://github.com/zooba'\nclosed_at = \u003cDate 2019-06-25.16:14:49.543>\ncreated_at = \u003cDate 2009-01-16.12:04:54.057>\nlabels = ['easy', 'type-bug', '3.8', 'expert-email', '3.7', 'library', '3.9']\ntitle = 'mimetypes.guess_extension result changes after mimetypes.init()'\nupdated_at = \u003cDate 2021-01-10.02:17:07.465>\nuser = 'https://bugs.python.org/siona'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-01-10.02:17:07.465>\nactor = 'terry.reedy'\nassignee = 'steve.dower'\nclosed = True\nclosed_date = \u003cDate 2019-06-25.16:14:49.543>\ncloser = 'steve.dower'\ncomponents = ['Library (Lib)', 'email']\ncreation = \u003cDate 2009-01-16.12:04:54.057>\ncreator = 'siona'\ndependencies = []\nfiles = ['17803', '34821']\nhgrepos = []\nissue_num = 4963\nkeywords = ['patch', 'easy']\nmessage_count = 35.0\nmessages = ['79955', '79961', '79962', '108650', '108674', '108704', '108707', '108746', '108755', '108853', '108934', '108967', '182465', '214948', '216104', '216764', '246649', '293248', '293249', '293258', '293261', '293262', '293626', '293628', '300092', '315145', '322534', '346456', '346457', '346534', '346537', '346539', '384730', '384731', '384750']\nnosy_count = 18.0\nnosy_names = ['barry', 'terry.reedy', 'pitrou', 'christian.heimes', 'wichert', 'a.badger', 'r.david.murray', 'siona', 'sascha_silbe', 'l0nwlf', 'X-Istence', 'martin.panter', 'steve.dower', 'wodny', 'maxking', 'pombredanne', 'sivert', 'dhess']\npr_nums = ['3062', '14375', '14376']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue4963'\nversions = ['Python 3.7', 'Python 3.8', 'Python 3.9']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":null,"@type":"Person","name":"siona"},"datePublished":"2009-01-16T12:04:54Z","url":"https://github.com/python/cpython/issues/49213"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d966074d-0679-dc0c-542d-d0e869a2a323 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 802E:3CB04:904821:C1DD7E:6AEE00B0 |
| html-safe-nonce | 30cd902ea0a1dd870cee2cadf9fc353516ab3643039b063e2ec90cb5adad6301 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDJFOjNDQjA0OjkwNDgyMTpDMUREN0U6NkFFRTAwQjAiLCJ2aXNpdG9yX2lkIjoiODY5NTI2NTQ2MTY0ODc1NDQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ad71006b300f9c0853ce5b95884dbb284b66ab6fc73767f3b29d571861ea0aa4 |
| hovercard-subject-tag | issue:1198840204 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/49213/issue_layout |
| twitter:image | https://opengraph.githubassets.com/63ed2d453ff26b84dff341183aa0539b4b9aaad0fe7a7ed69ace1307eef0b869/python/cpython/issues/49213 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/63ed2d453ff26b84dff341183aa0539b4b9aaad0fe7a7ed69ace1307eef0b869/python/cpython/issues/49213 |
| og:image:alt | BPO 4963 Nosy @warsaw, @terryjreedy, @pitrou, @tiran, @abadger, @bitdancer, @bertjwregeer, @vadmium, @zooba, @maxking, @pombredanne, @davidkhess PRs #3062#14375#14376 Files mimetypes-init-test.patc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | siona |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0dd941b5245e608c751507bdb7c7016789050735e3c97662aac0f0791b67227a |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bf78b34e3533f50fdd2e62be099271a8641eefe7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width