Skip to content

mimetypes.guess_extension result changes after mimetypes.init() #49213

Description

@siona
mannequin
BPO 4963
Nosy @warsaw, @terryjreedy, @pitrou, @tiran, @abadger, @bitdancer, @bertjwregeer, @vadmium, @zooba, @maxking, @pombredanne, @davidkhess
PRs
  • bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes #3062
  • [3.8] bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes (GH-3062) #14375
  • [3.7] bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes (GH-3062) #14376
  • Files
  • mimetypes-init-test.patch
  • issue4963.patch: stable guess_extension patch and test
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/zooba'
    closed_at = <Date 2019-06-25.16:14:49.543>
    created_at = <Date 2009-01-16.12:04:54.057>
    labels = ['easy', 'type-bug', '3.8', 'expert-email', '3.7', 'library', '3.9']
    title = 'mimetypes.guess_extension result changes after mimetypes.init()'
    updated_at = <Date 2021-01-10.02:17:07.465>
    user = 'https://bugs.python.org/siona'

    bugs.python.org fields:

    activity = <Date 2021-01-10.02:17:07.465>
    actor = 'terry.reedy'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2019-06-25.16:14:49.543>
    closer = 'steve.dower'
    components = ['Library (Lib)', 'email']
    creation = <Date 2009-01-16.12:04:54.057>
    creator = 'siona'
    dependencies = []
    files = ['17803', '34821']
    hgrepos = []
    issue_num = 4963
    keywords = ['patch', 'easy']
    message_count = 35.0
    messages = ['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']
    nosy_count = 18.0
    nosy_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']
    pr_nums = ['3062', '14375', '14376']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4963'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifeeasystdlibStandard Library Python modules in the Lib/ directorytopic-emailtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions