-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-45403: Fix test_sys.test_stdlib_dir() #28785
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
Conversation
Fix test_sys.test_stdlib_dir() when Python is built outside the source tree: compare normalized paths.
@ericsnowcurrently: In a perfect world, we would be able ot normalize paths in C, but for now, I think that it's ok to have I propose to fix the test, we can revisit normalization during Python startup later. |
You may want to have a chat with @zooba, who has been threatening to make getpath.c pure Python (frozen). 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for doing this.
@vstinner, do we have a buildbot for out-of-tree builds? Clearly I've missed cases where I broke that with some of my recent work. |
|
Fix test_sys.test_stdlib_dir() when Python is built outside the
source tree: compare normalized paths.
https://bugs.python.org/issue45403