Skip to content

The tempfile._infer_return_type function cannot infer the type of os.PathLike objects.#89355

@rekyungmin

Description

@rekyungmin
BPO45192
Nosy@ambv, @miss-islington, @akulakov, @rekyungmin
PRs
  • bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str #28323
  • [3.10] bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str (GH-28323) #29111
  • [3.9] bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str (GH-28323) #29112
  • 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=Noneclosed_at=Nonecreated_at=<Date2021-09-14.05:44:04.045>labels= ['type-bug', '3.8', '3.9', '3.10', '3.7', 'library'] title='The tempfile._infer_return_type function cannot infer the type of os.PathLike objects.'updated_at=<Date2021-10-20.21:27:38.952>user='https://github.com/rekyungmin'

    bugs.python.org fields:

    activity=<Date2021-10-20.21:27:38.952>actor='lukasz.langa'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2021-09-14.05:44:04.045>creator='rekyungmin'dependencies= [] files= [] hgrepos= [] issue_num=45192keywords= ['patch'] message_count=6.0messages= ['401754', '401755', '404139', '404523', '404528', '404529'] nosy_count=4.0nosy_names= ['lukasz.langa', 'miss-islington', 'andrei.avk', 'rekyungmin'] pr_nums= ['28323', '29111', '29112'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue45192'versions= ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      No status

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions