Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.2k
Star
74.2k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
GH-73991: Add
pathlib.Path.copy()
- #119058
#119058
Merged
barneygale
merged 19 commits into
python:main
python/cpython:main
from
barneygale:gh-73991-copy
barneygale/cpython:gh-73991-copy
Copy head branch name to clipboard
Jun 14, 2024
Conversation
Commits
19
(19)
Checks
Files changed
Merged
GH-73991: Add
pathlib.Path.copy()
#119058
barneygale
merged 19 commits into
python:main
python/cpython:main
from
barneygale:gh-73991-copy
barneygale/cpython:gh-73991-copy
Copy head branch name to clipboard
Commits
Commits on May 14, 2024
GH-73991: Add `pathlib.Path.copy()` method.
Show description for 7128a7a
barneygale
committed
7128a7a
View commit details
Copy full SHA for 7128a7a
Browse repository at this point
Commits on May 15, 2024
Fix tests, add news
barneygale
committed
4cf63e6
View commit details
Copy full SHA for 4cf63e6
Browse repository at this point
Comment on use of `shutil.copy2()`
barneygale
committed
e83f53e
View commit details
Copy full SHA for e83f53e
Browse repository at this point
Use fcopyfile() / sendfile() where available.
barneygale
committed
092a0e0
View commit details
Copy full SHA for 092a0e0
Browse repository at this point
Commits on Jun 3, 2024
Merge branch 'main' into gh-73991-copy
barneygale
committed
ac37fa5
View commit details
Copy full SHA for ac37fa5
Browse repository at this point
Drop usage of shutil
barneygale
committed
a9a216e
View commit details
Copy full SHA for a9a216e
Browse repository at this point
Fix tests, add FICLONE support
barneygale
committed
cbf6174
View commit details
Copy full SHA for cbf6174
Browse repository at this point
Commits on Jun 4, 2024
Move to `pathlib._os`.
barneygale
committed
738f8ed
View commit details
Copy full SHA for 738f8ed
Browse repository at this point
Move a bit more code into _os.
barneygale
committed
83cb4dc
View commit details
Copy full SHA for 83cb4dc
Browse repository at this point
Handle classes that subclass PathBase and os.PathLike but not Path.
barneygale
committed
0aceea2
View commit details
Copy full SHA for 0aceea2
Browse repository at this point
Reword
barneygale
committed
eec9e7f
View commit details
Copy full SHA for eec9e7f
Browse repository at this point
Commits on Jun 5, 2024
Add test for directory symlinks
barneygale
committed
fddcd73
View commit details
Copy full SHA for fddcd73
Browse repository at this point
Fix handling of symlinks to directories on Windows.
barneygale
committed
c683c2d
View commit details
Copy full SHA for c683c2d
Browse repository at this point
Expose _winapi.COPY_FILE_DIRECTORY
barneygale
committed
0be714f
View commit details
Copy full SHA for 0be714f
Browse repository at this point
Test copying empty file.
barneygale
committed
5169b9a
View commit details
Copy full SHA for 5169b9a
Browse repository at this point
Commits on Jun 6, 2024
Apply suggestions from code review
Show description for 7c9c893
barneygale
and
eryksun
authored
7c9c893
View commit details
Copy full SHA for 7c9c893
Browse repository at this point
Drop `follow_symlinks` argument for now.
barneygale
committed
0e1e4f1
View commit details
Copy full SHA for 0e1e4f1
Browse repository at this point
Commits on Jun 12, 2024
Merge branch 'main' into gh-73991-copy
barneygale
committed
8434924
View commit details
Copy full SHA for 8434924
Browse repository at this point
Commits on Jun 13, 2024
Merge branch 'main' into gh-73991-copy
barneygale
committed
d8cb6c6
View commit details
Copy full SHA for d8cb6c6
Browse repository at this point
You can’t perform that action at this time.