diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-09-25 02:54:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-25 02:54:25 +0200 |
commit | 221fd84703c545408bbb4a6e0b58459651331f5c (patch) | |
tree | b7fbeb8590e192b205f85267871828279c152d6c /Tools/scripts/pathfix.py | |
parent | 52ad33abbfb6637d74932617c7013bae0ccf6e32 (diff) | |
download | cpython-git-221fd84703c545408bbb4a6e0b58459651331f5c.tar.gz |
bpo-38234: Cleanup getpath.c (GH-16367)
* search_for_prefix() directly calls reduce() if found is greater
than 0.
* Add calculate_pybuilddir() subfunction.
* search_for_prefix(): add path string buffer for readability.
* Fix some error handling code paths: release resources on error.
* calculate_read_pyenv(): rename tmpbuffer to filename.
* test.pythoninfo now also logs windows.dll_path
Diffstat (limited to 'Tools/scripts/pathfix.py')
0 files changed, 0 insertions, 0 deletions