Skip to content

pathlib.PurePath division raises TypeError instead of returning NotImplemented #78956

@aiudirog

Description

@aiudirog
mannequin
BPO 34775
Nosy @ned-deily, @berkerpeksag, @serhiy-storchaka, @tirkarthi, @aiudirog
PRs
  • bpo-34775: Return NotImplemented in PurePath division. #9509
  • [3.8] bpo-34775: Return NotImplemented in PurePath division. (GH-9509) #15172
  • bpo-36305: Fixes to path handling and parsing in pathlib #12361
  • 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 = <Date 2019-08-29.05:12:34.289>
    created_at = <Date 2018-09-23.07:02:08.850>
    labels = ['3.8', 'type-bug', 'library', '3.9']
    title = 'pathlib.PurePath division raises TypeError instead of returning NotImplemented'
    updated_at = <Date 2020-01-16.12:08:52.969>
    user = 'https://github.com/aiudirog'

    bugs.python.org fields:

    activity = <Date 2020-01-16.12:08:52.969>
    actor = 'kmaork'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-08-29.05:12:34.289>
    closer = 'ned.deily'
    components = ['Library (Lib)']
    creation = <Date 2018-09-23.07:02:08.850>
    creator = 'Roger Aiudi'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34775
    keywords = ['patch']
    message_count = 6.0
    messages = ['326140', '326146', '326156', '349217', '350712', '350714']
    nosy_count = 5.0
    nosy_names = ['ned.deily', 'berker.peksag', 'serhiy.storchaka', 'xtreak', 'Roger Aiudi']
    pr_nums = ['9509', '15172', '12361']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34775'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9only 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