[3.8] bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes (GH-3062) by zooba · Pull Request #14375 · python/cpython
zooba
deleted the
bpo-4963-3.8
branch
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request
jugmac00 pushed a commit to jugmac00/launchpad that referenced this pull request
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
mannequin
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters