Skip to content

bpo-32266: make test_pathlib pass when working path has junctions #4778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

native-api
Copy link
Contributor

@native-api native-api commented Dec 10, 2017

Confirmed failures in 3.4 and 3.5, too.

In 3.4, will still fail in XP 'cuz _getfinalpathname is an alias to normpath there. There's no other API to resort to that can expand junctions save for checking every path part by hand.

https://bugs.python.org/issue32266

@native-api native-api closed this May 17, 2018
@native-api native-api deleted the test_pathlib_junctions branch May 17, 2018 19:17
@iritkatriel
Copy link
Member

@native-api Why did you close the PR? Did you intend to close https://bugs.python.org/issue32266 as well?

@native-api
Copy link
Contributor Author

I closed the PR because it was rejected as per https://bugs.python.org/issue32266#msg310412, I no longer have the machine with the setup that exposed the problem and the fix wasn't particularly elegant -- need something stock to work as realpath.

I don't know if the problem is still there so don't know if the ticket can be closed.

@iritkatriel
Copy link
Member

Thanks. The comment says it was too late to merge the patch in 3.4 and 3.5, I'm not sure it was rejected altogether.

But if we can't test for this now it may be the case that we close the ticket and deal with the problem if and when someone else comes across it.

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