Skip to content

pathlib.Path.parents negative indexing is wrong for absolute paths #89577

Closed as not planned
@MojoVampire

Description

@MojoVampire
BPO 45414
Nosy @MojoVampire, @pganssle

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-10-08.18:11:18.885>
labels = ['type-bug', 'library', '3.10', '3.11']
title = 'pathlib.Path.parents negative indexing is wrong for absolute paths'
updated_at = <Date 2021-10-08.21:19:51.055>
user = 'https://github.com/MojoVampire'

bugs.python.org fields:

activity = <Date 2021-10-08.21:19:51.055>
actor = 'josh.r'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-10-08.18:11:18.885>
creator = 'josh.r'
dependencies = []
files = []
hgrepos = []
issue_num = 45414
keywords = []
message_count = 4.0
messages = ['403488', '403493', '403497', '403507']
nosy_count = 2.0
nosy_names = ['josh.r', 'p-ganssle']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45414'
versions = ['Python 3.10', 'Python 3.11']

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10only security fixes3.11only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions