gh-99547: Add isjunction methods for checking if a path is a junction by csm10495 · Pull Request #99548 · python/cpython · GitHub

github.com

Tin mới

csm10495:add_isjunction

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

Add an isjunction method to ntpath and posixpath, pass it along as we…

Add is_junction test for pathlib

Add a skipIf not win32 for testing ntpath isjunction on non windows p…

Merge branch 'python:main' into add_isjunction

Merge branch 'python:main' into add_isjunction

isjunction for checking if a given path is a junction #99547

📜🤖 Added by blurb_it.

Merge branch 'python:main' into add_isjunction

View reviewed changes

Update Lib/test/test_ntpath.py

remove un-needed import

Merge branch 'main' into add_isjunction

View reviewed changes

Update Lib/ntpath.py

fix test... this was a string not an obj

View reviewed changes

Update Lib/posixpath.py

Update Lib/ntpath.py

Empty commit to rekick ci

update os.path.rst for isjunction

Update Doc/library/os.rst

View reviewed changes

Update Lib/test/test_os.py

Remove _rmtree_is_dir() since we can now just check if the entry is a…

View reviewed changes

Update Lib/shutil.py

update from suggestion

View reviewed changes

Update Lib/shutil.py

Add Python 3.12 to the test suite pytest-dev/pyfakefs#764