◐ Shell
clean mode source ↗

[3.8] bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes (GH-3062) by zooba · Pull Request #14375 · python/cpython

@davidkhess @zooba

@zooba zooba deleted the bpo-4963-3.8 branch

June 25, 2019 15:20

The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request

Jan 4, 2021

The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request

Jan 5, 2021

jugmac00 pushed a commit to jugmac00/launchpad that referenced this pull request

Dec 5, 2022
Python 3.8 slightly changed how the `mimetypes` module is initialized
(python/cpython#14375), and this interacted
badly with the reinitialization code in `zope.contenttype` in such a way
as to make the extensions in `lp.services.mime` be ineffective.  Work
around this in a way that works with both old and new versions of Python
by monkey-patching `mimetypes.init`.

@siona siona mannequin mentioned this pull request

May 31, 2026