This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients serhiy.storchaka, vstinner
Date 2017-07-25.12:45:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500986757.57.0.359169510485.issue31030@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-07-25 12:45:57vstinnersetrecipients: + vstinner, serhiy.storchaka
2017-07-25 12:45:57vstinnersetmessageid: <1500986757.57.0.359169510485.issue31030@psf.upfronthosting.co.za>
2017-07-25 12:45:57vstinnerlinkissue31030 messages
2017-07-25 12:45:57vstinnercreate