Skip to content

pathlib.Path methods can raise NotImplementedError #90889

Closed
@barneygale

Description

@barneygale
BPO 46733
Nosy @terryjreedy, @pitrou, @merwok, @serhiy-storchaka, @eryksun, @barneygale, @AlexWaygood
PRs
  • bpo-46733: move pathlib.Path.owner() and group() to PosixPath #31338
  • bpo-46733: deprecate pathlib link methods when lacking needed os functions #31339
  • bpo-46733: raise ValueError when pathlib.Path.glob() is called with an absolute pattern #31340
  • bpo-46733: raise TypeError when constructing foreign pathlib.Path flavour #31341
  • 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 2022-02-12.19:35:13.033>
    labels = ['type-bug', 'library', '3.11']
    title = 'pathlib.Path methods can raise NotImplementedError'
    updated_at = <Date 2022-02-21.11:42:45.391>
    user = 'https://github.com/barneygale'

    bugs.python.org fields:

    activity = <Date 2022-02-21.11:42:45.391>
    actor = 'eryksun'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2022-02-12.19:35:13.033>
    creator = 'barneygale'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46733
    keywords = ['patch']
    message_count = 11.0
    messages = ['413142', '413143', '413144', '413263', '413276', '413298', '413308', '413506', '413627', '413644', '413647']
    nosy_count = 7.0
    nosy_names = ['terry.reedy', 'pitrou', 'eric.araujo', 'serhiy.storchaka', 'eryksun', 'barneygale', 'AlexWaygood']
    pr_nums = ['31338', '31339', '31340', '31341']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46733'
    versions = ['Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibPython modules in the Lib dirtopic-pathlibtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions