Message299779
| Author |
xdegaye |
| Recipients |
xdegaye |
| Date |
2017年08月05日.13:08:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1501938529.14.0.362965770376.issue31114@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In the subprocess test named test_executable_without_cwd and when the test is run on the installed Python, argv[0] is not the python executable and calculate_path() in Modules/getpath.c, as a last resort, searches the directories pointed to by the preprocessor variables PREFIX and EXEC_PREFIX defined in the Makefile. So this test indeed would have failed with the (rejected) proposition made in issue 1676135 to substitute the prefix '/' for '' in the configure script. But the test would succeed when the substitution replaces '/' with '/./' as proposed here (after Python has effectively been manually installed on '/' of course).
Actually using '/.' instead of '/./' is better since the configure script will remove the trailing slash anyway. In both cases the value of prefix in the sysconfig module is '/.'. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年08月05日 13:08:49 | xdegaye | set | recipients:
+ xdegaye |
| 2017年08月05日 13:08:49 | xdegaye | set | messageid: <1501938529.14.0.362965770376.issue31114@psf.upfronthosting.co.za> |
| 2017年08月05日 13:08:49 | xdegaye | link | issue31114 messages |
| 2017年08月05日 13:08:48 | xdegaye | create |
|