-
- Downloads
bpo-45506: Normalize _PyPathConfig.stdlib_dir when calculated. (#29040)
The recently added PyConfig.stdlib_dir was being set with ".." entries. When __file__ was added for from modules this caused a problem on out-of-tree builds. This PR fixes that by normalizing "stdlib_dir" when it is calculated in getpath.c. https://bugs.python.org/issue45506
Showing
- Include/internal/pycore_fileutils.h 3 additions, 0 deletionsInclude/internal/pycore_fileutils.h
- Lib/test/test_fileutils.py 30 additions, 0 deletionsLib/test/test_fileutils.py
- Lib/test/test_posixpath.py 44 additions, 18 deletionsLib/test/test_posixpath.py
- Modules/_testinternalcapi.c 24 additions, 0 deletionsModules/_testinternalcapi.c
- Modules/getpath.c 40 additions, 6 deletionsModules/getpath.c
- Python/fileutils.c 95 additions, 0 deletionsPython/fileutils.c
Loading
Please register or sign in to comment