Message299068
Technically, /home/serhiy/py/cpython/Lib/../python is absolute and is a valid path. I'm not sure that it's possible to normalize sys.executable early in the Python initialization.
If we modify the site module to normalize sys.executable, it would mean that sys.executable wouldn't be normalized when using the python3 -S command line option. I dislike having subtle differences between site and no site.
I suggest to normalize sys.executable in the unit test. |
|
Date |
User |
Action |
Args |
2017-07-25 12:45:57 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka |
2017-07-25 12:45:57 | vstinner | set | messageid: <1500986757.57.0.359169510485.issue31030@psf.upfronthosting.co.za> |
2017-07-25 12:45:57 | vstinner | link | issue31030 messages |
2017-07-25 12:45:57 | vstinner | create | |
|