Skip to content

Allowing to pass pathlib.Path object in mimetypes.guess_type function #65723

@jorispilot

Description

@jorispilot
BPO 21524
Nosy @csabella
Superseder
  • bpo-34926: Allow querying a Path's mime-type
  • 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 = <Date 2018-12-27.23:11:44.951>
    created_at = <Date 2014-05-18.13:20:26.726>
    labels = ['3.8', 'type-feature', 'library']
    title = 'Allowing to pass pathlib.Path object in mimetypes.guess_type function'
    updated_at = <Date 2018-12-27.23:11:44.950>
    user = 'https://bugs.python.org/jorispilot'

    bugs.python.org fields:

    activity = <Date 2018-12-27.23:11:44.950>
    actor = 'cheryl.sabella'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-12-27.23:11:44.951>
    closer = 'cheryl.sabella'
    components = ['Library (Lib)']
    creation = <Date 2014-05-18.13:20:26.726>
    creator = 'jorispilot'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 21524
    keywords = []
    message_count = 1.0
    messages = ['332626']
    nosy_count = 2.0
    nosy_names = ['jorispilot', 'cheryl.sabella']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '34926'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue21524'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifestdlibPython modules in the Lib dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions