Skip to content

os.PathLike subclasshook causes subclass checks true on abstract implementation #83059

Description

@bharel
mannequin
BPO 38878
Nosy @ilevkivskyi, @bharel, @ammaraskar, @tirkarthi
PRs
  • bpo-38878: Fix os.PathLike __subclasshook__ #17336
  • [3.8] bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336) #17684
  • [3.7] bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336) #17685
  • 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-12-23.18:32:01.175>
    created_at = <Date 2019-11-21.15:00:21.484>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = 'os.PathLike subclasshook causes subclass checks true on abstract implementation'
    updated_at = <Date 2019-12-23.18:32:01.174>
    user = 'https://github.com/bharel'

    bugs.python.org fields:

    activity = <Date 2019-12-23.18:32:01.174>
    actor = 'levkivskyi'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-12-23.18:32:01.175>
    closer = 'levkivskyi'
    components = ['Library (Lib)']
    creation = <Date 2019-11-21.15:00:21.484>
    creator = 'bar.harel'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38878
    keywords = ['patch']
    message_count = 13.0
    messages = ['357174', '357205', '357209', '357213', '357326', '357342', '357354', '357356', '357367', '357776', '358787', '358828', '358829']
    nosy_count = 4.0
    nosy_names = ['levkivskyi', 'bar.harel', 'ammar2', 'xtreak']
    pr_nums = ['17336', '17684', '17685']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38878'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions