Re: Is sys.executable not supposed to follow symlinks?

2020-07-26 Thread Eryk Sun
On 7/26/20, Bolun Thompson wrote: > In the sys.executable documentation ( > https://docs.python.org/3/library/sys.html#sys.executable), they don't > specify if it follows symlinks. From my limited testing, it does not. Is > this behavior guaranteed? In Unix, the interpreter resolves the target of

Re: Is sys.executable not supposed to follow symlinks?

2020-07-26 Thread Chris Angelico
On Mon, Jul 27, 2020 at 8:04 AM Bolun Thompson wrote: > > In the sys.executable documentation ( > https://docs.python.org/3/library/sys.html#sys.executable), they don't > specify if it follows symlinks. From my limited testing, it does not. Is > this behavior guaranteed? I don't know about guaran

Is sys.executable not supposed to follow symlinks?

2020-07-26 Thread Bolun Thompson
In the sys.executable documentation ( https://docs.python.org/3/library/sys.html#sys.executable), they don't specify if it follows symlinks. From my limited testing, it does not. Is this behavior guaranteed? -- https://mail.python.org/mailman/listinfo/python-list