bpo-45403: Fix test_sys.test_stdlib_dir()#28785
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). 🙂 |
ericsnowcurrently
left a comment
There was a problem hiding this comment.
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