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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation0 Commits1 Checks0 Files changed

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

zooba

@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

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

Jan 5, 2021

@The-Compiler

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

Dec 5, 2022

@cjwatson

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.