René's URL Explorer Experiment


Title: GH-73991: Add follow_symlinks argument to `pathlib.Path.copy()` by barneygale · Pull Request #120519 · python/cpython · GitHub

Open Graph Title: GH-73991: Add follow_symlinks argument to `pathlib.Path.copy()` by barneygale · Pull Request #120519 · python/cpython

X Title: GH-73991: Add follow_symlinks argument to `pathlib.Path.copy()` by barneygale · Pull Request #120519 · python/cpython

Description: Add support for not following symlinks in pathlib.Path.copy(). On Windows we add the COPY_FILE_COPY_SYMLINK flag is following symlinks is disabled. If the source is symlink to a directory, this cal...

Open Graph Description: Add support for not following symlinks in pathlib.Path.copy(). On Windows we add the COPY_FILE_COPY_SYMLINK flag is following symlinks is disabled. If the source is symlink to a directory, this cal...

X Description: Add support for not following symlinks in pathlib.Path.copy(). On Windows we add the COPY_FILE_COPY_SYMLINK flag is following symlinks is disabled. If the source is symlink to a directory, this cal...

Opengraph URL: https://github.com/python/cpython/pull/120519

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:76223ffb-7bc4-6d90-b178-589d23c29fb2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE154:F5C1C:F21C30:150CDCF:696A274B
html-safe-noncec53816f2656f8ccd69bb89a8d5ddc6a8cd7a44797201dc1d860f084f23be5dbf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTU0OkY1QzFDOkYyMUMzMDoxNTBDRENGOjY5NkEyNzRCIiwidmlzaXRvcl9pZCI6IjI1ODI4NzI1NTA1MTI2NjY0NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac506e2879f588dac549873b8cbedc140a214120aab3a60c52fc306b140274ac7b
hovercard-subject-tagpull_request:1921253693
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/120519/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/15a29ac67242287ad300ef46043381abace56c62b058e016145d1fd34dea4829/python/cpython/pull/120519
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/15a29ac67242287ad300ef46043381abace56c62b058e016145d1fd34dea4829/python/cpython/pull/120519
og:image:altAdd support for not following symlinks in pathlib.Path.copy(). On Windows we add the COPY_FILE_COPY_SYMLINK flag is following symlinks is disabled. If the source is symlink to a directory, this cal...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
Nonea1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef472b8e6c7b3fdd5d0354972a3f4c516289bf0be
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/120519#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F120519
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F120519
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/120519
Reloadhttps://github.com/python/cpython/pull/120519
Reloadhttps://github.com/python/cpython/pull/120519
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/120519
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/120519
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/120519#issue-comment-box
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-73991-follow-symlinkshttps://github.com/barneygale/cpython/tree/gh-73991-follow-symlinks
GH-73991: Add follow_symlinks argument to pathlib.Path.copy() https://github.com/python/cpython/pull/120519#top
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-73991-follow-symlinkshttps://github.com/barneygale/cpython/tree/gh-73991-follow-symlinks
Conversation 9 https://github.com/python/cpython/pull/120519
Commits 4 https://github.com/python/cpython/pull/120519/commits
Checks 0 https://github.com/python/cpython/pull/120519/checks
Files changed https://github.com/python/cpython/pull/120519/files
Please reload this pagehttps://github.com/python/cpython/pull/120519
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jun 14, 2024https://github.com/python/cpython/pull/120519#issue-2353992791
Please reload this pagehttps://github.com/python/cpython/pull/120519
Support moving across filesystems in pathlib.Path, as shutil.move() does #73991https://github.com/python/cpython/issues/73991
https://cpython-previews--120519.org.readthedocs.build/https://cpython-previews--120519.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/120519
https://github.com/barneygale
pythonGH-73991https://github.com/python/cpython/issues/73991
: Add *follow_symlinks* argument tohttps://github.com/python/cpython/pull/120519/commits/34a336570e37110c10d33a554718d1518191fc08
pathlib.Path.copy()https://github.com/python/cpython/pull/120519/commits/34a336570e37110c10d33a554718d1518191fc08
34a3365https://github.com/python/cpython/pull/120519/commits/34a336570e37110c10d33a554718d1518191fc08
https://github.com/barneygale
barneygalehttps://github.com/barneygale
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Jun 14, 2024https://github.com/python/cpython/pull/120519#event-13165034470
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 14, 2024 https://github.com/python/cpython/pull/120519#ref-issue-1198970031
Support moving across filesystems in pathlib.Path, as shutil.move() does #73991 https://github.com/python/cpython/issues/73991
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 14, 2024https://github.com/python/cpython/pull/120519#event-13165035370
https://github.com/barneygale
barneygalehttps://github.com/barneygale
eryksunhttps://github.com/eryksun
June 14, 2024 19:55https://github.com/python/cpython/pull/120519#event-13165066518
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jun 14, 2024https://github.com/python/cpython/pull/120519#event-13165181286
https://github.com/barneygale
barneygalehttps://github.com/barneygale
zoobahttps://github.com/zooba
June 18, 2024 17:42https://github.com/python/cpython/pull/120519#event-13204559768
https://github.com/zooba
zoobahttps://github.com/zooba
Jun 18, 2024 https://github.com/python/cpython/pull/120519#pullrequestreview-2126423888
View reviewed changes https://github.com/python/cpython/pull/120519/files/34a336570e37110c10d33a554718d1518191fc08
zoobahttps://github.com/zooba
https://github.com/python/cpython/pull/120519#pullrequestreview-2126423888
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/120519
Doc/library/pathlib.rsthttps://github.com/python/cpython/pull/120519/files/34a336570e37110c10d33a554718d1518191fc08#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
Please reload this pagehttps://github.com/python/cpython/pull/120519
Lib/pathlib/_os.pyhttps://github.com/python/cpython/pull/120519/files/34a336570e37110c10d33a554718d1518191fc08#diff-a440ca5fbb1dacc5feb10d835269d16638a59a3d8c0be578e054a09515058cda
Please reload this pagehttps://github.com/python/cpython/pull/120519
Lib/test/test_pathlib/test_pathlib_abc.pyhttps://github.com/python/cpython/pull/120519/files/34a336570e37110c10d33a554718d1518191fc08#diff-4669f270f5520190bbc1c9e99ac03db2847c44be835fb3d2d9ff727d73761f58
Please reload this pagehttps://github.com/python/cpython/pull/120519
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 18, 2024https://github.com/python/cpython/pull/120519#event-13206328270
barneygalehttps://github.com/barneygale
June 19, 2024 01:22https://github.com/python/cpython/pull/120519#commits-pushed-38bf791
https://github.com/barneygale
Test copying to existing symlink with follow_symlinks=Falsehttps://github.com/python/cpython/pull/120519/commits/38bf791c05ffefa5fee663ec4e910b3bc0592f16
38bf791https://github.com/python/cpython/pull/120519/commits/38bf791c05ffefa5fee663ec4e910b3bc0592f16
https://github.com/barneygale
Check for os.stat_result.st_file_attributeshttps://github.com/python/cpython/pull/120519/commits/07177929c1e19be71aeadd528f7e67be1c7569fc
0717792https://github.com/python/cpython/pull/120519/commits/07177929c1e19be71aeadd528f7e67be1c7569fc
https://github.com/barneygale
Add underscore prefixhttps://github.com/python/cpython/pull/120519/commits/de5a23033531d06b5bc2dfaef658b02ed6a38ff6
de5a230https://github.com/python/cpython/pull/120519/commits/de5a23033531d06b5bc2dfaef658b02ed6a38ff6
https://github.com/barneygale
barneygalehttps://github.com/barneygale
June 19, 2024 00:38https://github.com/python/cpython/pull/120519#event-13208283803
https://github.com/barneygale
barneygalehttps://github.com/barneygale
20d5b84https://github.com/python/cpython/commit/20d5b84f57a6f7e5a76109e483abe39d9f703d56
Jun 19, 2024https://github.com/python/cpython/pull/120519#event-13208386268
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jun 19, 2024https://github.com/python/cpython/pull/120519#event-13208386491
https://github.com/eryksun
eryksunhttps://github.com/eryksun
Jun 19, 2024 https://github.com/python/cpython/pull/120519#pullrequestreview-2127718114
View reviewed changes https://github.com/python/cpython/pull/120519/files/de5a23033531d06b5bc2dfaef658b02ed6a38ff6
Doc/library/pathlib.rsthttps://github.com/python/cpython/pull/120519/files/de5a23033531d06b5bc2dfaef658b02ed6a38ff6#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
eryksunhttps://github.com/eryksun
Jun 19, 2024https://github.com/python/cpython/pull/120519#discussion_r1645824383
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/120519
barneygalehttps://github.com/barneygale
Jun 19, 2024https://github.com/python/cpython/pull/120519#discussion_r1645833967
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/120519
eryksunhttps://github.com/eryksun
Jun 19, 2024https://github.com/python/cpython/pull/120519#discussion_r1646207793
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/120519
mrahtzhttps://github.com/mrahtz
Jun 30, 2024 https://github.com/python/cpython/pull/120519#ref-commit-8f3a17a
https://github.com/barneygale
https://github.com/mrahtz
pythonGH-73991https://github.com/python/cpython/issues/73991
: Add follow_symlinks argument tohttps://github.com/mrahtz/cpython/commit/8f3a17ab9bf5115ba75ce1eba14d804b48b4d880
pathlib.Path.copy()https://github.com/mrahtz/cpython/commit/8f3a17ab9bf5115ba75ce1eba14d804b48b4d880
(https://github.com/mrahtz/cpython/commit/8f3a17ab9bf5115ba75ce1eba14d804b48b4d880
https://github.com/python/cpython/pull/120519
8f3a17ahttps://github.com/mrahtz/cpython/commit/8f3a17ab9bf5115ba75ce1eba14d804b48b4d880
…python#120519https://github.com/python/cpython/pull/120519
noahbkimhttps://github.com/noahbkim
Jul 11, 2024 https://github.com/python/cpython/pull/120519#ref-commit-4d83573
https://github.com/barneygale
https://github.com/noahbkim
pythonGH-73991https://github.com/python/cpython/issues/73991
: Add follow_symlinks argument tohttps://github.com/hudson-trading/cpython/commit/4d835738c6d16d922e121c1cc0edbc4695251410
pathlib.Path.copy()https://github.com/hudson-trading/cpython/commit/4d835738c6d16d922e121c1cc0edbc4695251410
(https://github.com/hudson-trading/cpython/commit/4d835738c6d16d922e121c1cc0edbc4695251410
https://github.com/python/cpython/pull/120519
4d83573https://github.com/hudson-trading/cpython/commit/4d835738c6d16d922e121c1cc0edbc4695251410
…python#120519https://github.com/python/cpython/pull/120519
estyxxhttps://github.com/estyxx
Jul 17, 2024 https://github.com/python/cpython/pull/120519#ref-commit-0557b1d
https://github.com/barneygale
https://github.com/estyxx
pythonGH-73991https://github.com/python/cpython/issues/73991
: Add follow_symlinks argument tohttps://github.com/estyxx/cpython/commit/0557b1d523259e7fe906847b239d66f5d1797a50
pathlib.Path.copy()https://github.com/estyxx/cpython/commit/0557b1d523259e7fe906847b239d66f5d1797a50
(https://github.com/estyxx/cpython/commit/0557b1d523259e7fe906847b239d66f5d1797a50
https://github.com/python/cpython/pull/120519
0557b1dhttps://github.com/estyxx/cpython/commit/0557b1d523259e7fe906847b239d66f5d1797a50
…python#120519https://github.com/python/cpython/pull/120519
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F120519
https://github.com/eryksun
eryksun https://github.com/eryksun
https://github.com/python/cpython/pull/120519/files/de5a23033531d06b5bc2dfaef658b02ed6a38ff6
https://github.com/zooba
zooba https://github.com/zooba
https://github.com/python/cpython/pull/120519/files/34a336570e37110c10d33a554718d1518191fc08
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Please reload this pagehttps://github.com/python/cpython/pull/120519
https://github.com/barneygale
https://github.com/eryksun
https://github.com/zooba
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.