pathlib.Path.iterdir doesn't raise an exception until you start iterating · Issue #78722 · python/cpython · GitHub
Skip to content

pathlib.Path.iterdir doesn't raise an exception until you start iterating #78722

Description

@PaulPinterits
BPO 34541
Nosy @pitrou, @prudvinit
PRs
  • bpo-34541: pathlib.Path.iterdir throw an exception when path is not valid #8996
  • gh-78722: Fixed, pathlib.Path.iterdir now throws an exception when path is not valid #8999
  • 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 2018-08-29.08:20:21.120>
    labels = ['3.8', 'type-feature', 'library']
    title = "pathlib.Path.iterdir doesn't throw an exception until you start iterating"
    updated_at = <Date 2019-05-23.22:47:36.119>
    user = 'https://bugs.python.org/PaulPinterits'

    bugs.python.org fields:

    activity = <Date 2019-05-23.22:47:36.119>
    actor = 'cheryl.sabella'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2018-08-29.08:20:21.120>
    creator = 'Paul Pinterits'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34541
    keywords = ['patch']
    message_count = 3.0
    messages = ['324307', '324332', '324334']
    nosy_count = 3.0
    nosy_names = ['pitrou', 'Paul Pinterits', 'prudvinit']
    pr_nums = ['8996', '8999']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue34541'
    versions = ['Python 3.8']

    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.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytopic-pathlibtype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions