Skip to content

mimetypes.add_type should complain when you give it an undotted ext #75223

Description

@OddBloke
mannequin
BPO 31040
Nosy @OddBloke, @JimJJewett, @JulienPalard, @rcj4747
PRs
  • bpo-31040: Add warning note about mimetypes.add_type ext argument format #2871
  • gh-75223: Reject undotted extensions in mimetypes.add_type() #2895
  • 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 = None
    closed_at = None
    created_at = <Date 2017-07-25.19:25:41.891>
    labels = ['3.7', 'library', 'docs']
    title = 'mimetypes.add_type should complain when you give it an undotted ext'
    updated_at = <Date 2019-09-13.10:59:42.020>
    user = 'https://github.com/OddBloke'

    bugs.python.org fields:

    activity = <Date 2019-09-13.10:59:42.020>
    actor = 'mdk'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2017-07-25.19:25:41.891>
    creator = 'odd_bloke'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31040
    keywords = []
    message_count = 4.0
    messages = ['299135', '306501', '352266', '352286']
    nosy_count = 5.0
    nosy_names = ['odd_bloke', 'docs@python', 'Jim.Jewett', 'mdk', 'rcj']
    pr_nums = ['2871', '2895']
    priority = 'normal'
    resolution = None
    stage = 'commit review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue31040'
    versions = ['Python 3.7']

    Linked PRs

    Activity

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

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifedocsDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions