Uh oh!
There was an error while loading. Please reload this page.
bpo-37369: Fix initialization of sys members when launched via an app container - #14428
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
vstinner
commented
Jun 27, 2019
Hum, I tried the following change: It works for me: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
zooba
commented
Jun 27, 2019
I think I was expecting that updating the prefix would be enough to locate the files under the prefix, but that doesn't work - it still comes up with the wrong Thanks for your other comments! |
vstinner
commented
Jun 27, 2019
Python Path Configuration is a black box. Nobody knows how it works! :-D |
zooba
commented
Jun 29, 2019
I'm going to give this one more review in the morning with fresh eyes (and coffee), but it should basically match the fix that's gone in for 3.7 already. This one defines more new API rather than just using a hack though (but I still want it in for the next 3.8.0 beta). |
… for linking sys.executable
miss-islington
commented
Jun 29, 2019
Thanks @zooba for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
miss-islington
commented
Jun 29, 2019
Sorry, @zooba, I could not cleanly backport this to |
… container (pythonGH-14428) sys._base_executable is now always defined on all platforms, and can be overridden through configuration. Also adds test.support.PythonSymlink to encapsulate platform-specific logic for symlinking sys.executable
bedevere-bot
commented
Jun 29, 2019
GH-14467 is a backport of this pull request to the 3.8 branch. |
… container (pythonGH-14428) sys._base_executable is now always defined on all platforms, and can be overridden through configuration. Also adds test.support.PythonSymlink to encapsulate platform-specific logic for symlinking sys.executable
… container (pythonGH-14428) sys._base_executable is now always defined on all platforms, and can be overridden through configuration. Also adds test.support.PythonSymlink to encapsulate platform-specific logic for symlinking sys.executable
https://bugs.python.org/issue37369