← 返回首页
Direct sub-classing of pathlib.Path · Issue #68320 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Direct sub-classing of pathlib.Path #68320

New issue
New issue

Description

mannequin
BPO 24132
Nosy @pfmoore, @pitrou, @keithy, @qb-cea, @miss-islington, @FFY00, @barneygale, @Xtrem532, @nyuszika7h, @kfollstad
PRs
  • bpo-24132: refactor pathlib to allow easy subclassing #6248
  • bpo-40107: stop using os.open() to implement pathlib.Path.open() #25240
  • bpo-42998: add 'user' parameter to pathlib.Path.home() #25271
  • bpo-43012: remove pathlib._Accessor #25701
  • bpo-44136: remove pathlib._Flavour #26141
  • bpo-24132: Direct sub-classing of pathlib.Path #26438
  • bpo-44412: add os.path.fileuri() function. #26708
  • bpo-24132: Add direct subclassing of PurePath/Path in pathlib #26906
  • bpo-24132: Add pathlib._AbstractPath #31085
  • gh-68320, gh-88302 - Allow for pathlib.Path subclassing #31691
  • 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 2015-05-06.05:26:53.017> labels = ['type-feature', 'library', '3.11'] title = 'Direct sub-classing of pathlib.Path' updated_at = <Date 2022-03-09.23:54:09.299> user = 'https://bugs.python.org/projetmbc'

    bugs.python.org fields:

    activity = <Date 2022-03-09.23:54:09.299> actor = 'barneygale' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2015-05-06.05:26:53.017> creator = 'projetmbc' dependencies = [] files = [] hgrepos = [] issue_num = 24132 keywords = ['patch'] message_count = 28.0 messages = ['242643', '242651', '242656', '242657', '242689', '242696', '242699', '242700', '242701', '242702', '242703', '242705', '246007', '305799', '305811', '305827', '305830', '305918', '310634', '314561', '314582', '314625', '365277', '381321', '392695', '401946', '412354', '414821'] nosy_count = 15.0 nosy_names = ['paul.moore', 'pitrou', 'bronger', 'elguavas', 'piotr.dobrogost', 'Kevin.Norris', 'projetmbc', 'keithy', 'qb-cea', 'miss-islington', 'FFY00', 'barneygale', 'Xtrem532', 'nyuszika7h', 'kfollstad'] pr_nums = ['6248', '25240', '25271', '25701', '26141', '26438', '26708', '26906', '31085', '31691'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue24132' versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibStandard Library Python modules in the Lib/ directorytopic-pathlibtype-featureA feature request or enhancement

      Fields

      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      • Open in GitHub Copilot app

      Footer

      © 2026 GitHub, Inc.