bpo-43012: remove `pathlib._Accessor` by barneygale · Pull Request #25701 · python/cpython · GitHub

github.com

Tin mới

barneygale:bpo-43012-remove-pathlib-accessor

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

View reviewed changes

bpo-44136: remove pathlib._Flavour #26141

github-actions Bot commented Jul 13, 2021

github-actions Bot commented Jul 13, 2021

This PR is stale because it has been open for 30 days with no activity.

Call accessor.getcwd() from only one method.

Call accessor.stat() from only one method.

Call accessor.scandir() from only one method.

Call accessor.link() from only one method.

Delete pathlib._Accessor.

Fix broken test_glob_permissions test.

Rename Path.scandir() to Path._scandir()

Simplify handling of missing os.readlink(), symlink() and link().

Move comment to Path._scandir() definition.

Undo changes to selector classes.

Merge branch 'main' into bpo-43012-remove-pathlib-accessor

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Merge branch 'main' into bpo-43012-remove-pathlib-accessor

Fix up broken merge from main.

View reviewed changes

Remove pathlib accessors #87178

Direct sub-classing of pathlib.Path #68320

python3.11 - AttributeError: module 'pathlib' has no attribute '_Accessor' devopshq/artifactory#372

support python 3.11 devopshq/artifactory#376

Add python 3.11 support: Remove use of pathlib._Accessor justindujardin/pathy#88

glob method broken in python 3.11 devopshq/artifactory#396

Update create_task_fixture for 3.11

Fix unit tests on Python 3.11 SFDO-Tooling/CumulusCI#3456

dohq-artifactory doesn't work with Python 3.11.2 devopshq/artifactory#415

GH-89812: Add pathlib._PathBase #106337