Skip to content

bpo-42778: Add follow_symlinks optional argument to os.path and pathlib samefile methods#23996

Closed
rrhodes wants to merge 1 commit into
python:masterfrom
rrhodes:fix-issue-42778
Closed

bpo-42778: Add follow_symlinks optional argument to os.path and pathlib samefile methods#23996
rrhodes wants to merge 1 commit into
python:masterfrom
rrhodes:fix-issue-42778

Conversation

@rrhodes

@rrhodes rrhodes commented Dec 29, 2020

Copy link
Copy Markdown
Contributor

What?

Add follow_symlinks optional argument to os.path and pathlib samefile methods.

Why?

To allow users to compare files without following symlinks. By default symlinks will be followed for backward compatibility.

https://bugs.python.org/issue42778

@rrhodes rrhodes requested a review from a team as a code owner December 29, 2020 12:36
@rrhodes rrhodes marked this pull request as draft December 29, 2020 12:42
@rrhodes rrhodes marked this pull request as ready for review December 29, 2020 12:49
@rrhodes rrhodes marked this pull request as draft January 1, 2021 17:47
@rrhodes rrhodes marked this pull request as ready for review January 1, 2021 17:52
@rrhodes

rrhodes commented Jan 7, 2021

Copy link
Copy Markdown
Contributor Author

Hi @corona10, sorry to ping you here out the blue but you've given great feedback in the past for other PRs I've opened. Any idea who should be requested to review the changes here?

@rrhodes

rrhodes commented Jan 12, 2021

Copy link
Copy Markdown
Contributor Author

Hi @serhiy-storchaka, apologies but I'll also ping you here since you've been great help for my previous contributions too. Any idea who should review these changes?

@rrhodes

rrhodes commented Jan 19, 2021

Copy link
Copy Markdown
Contributor Author

Hi @pxinwr, @ypankovych, looks like you two were both recent contributors to files affected by this change. Either of you happy to review these changes for me please?

@ypankovych

Copy link
Copy Markdown
Contributor

LGTM

@rrhodes

rrhodes commented Feb 16, 2021

Copy link
Copy Markdown
Contributor Author

It appears this functionality is not required. There are alternative ways to achieve intended behavior with other methods. Closing this now, but will keep the branch open in case appetite grows for this change.

@rrhodes rrhodes closed this Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants