Skip to content

tempfile seems to treat a file as a directory when processing an exception in the onerror() #87319

Closed
@mehwhatever0

Description

@mehwhatever0
BPO 43153
Nosy @serhiy-storchaka, @Fidget-Spinner, @akulakov, @mehwhatever0
PRs
  • bpo-43153: Don't mask PermissionError with NotADirectoryError during tempdirectory cleanup #29940
  • 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 2021-02-07.09:52:44.316>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'tempfile seems to treat a file as a directory when processing an exception in the onerror()'
    updated_at = <Date 2021-12-06.14:13:37.485>
    user = 'https://github.com/mehwhatever0'

    bugs.python.org fields:

    activity = <Date 2021-12-06.14:13:37.485>
    actor = 'kj'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-02-07.09:52:44.316>
    creator = 'mehwhatever0'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43153
    keywords = ['patch']
    message_count = 4.0
    messages = ['386587', '397118', '407376', '407435']
    nosy_count = 4.0
    nosy_names = ['serhiy.storchaka', 'kj', 'andrei.avk', 'mehwhatever0']
    pr_nums = ['29940']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43153'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixes3.12only security fixes3.13bugs and security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions