Author steve.dower
Recipients mariofutire, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2018-10-03.18:26:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don't think anything has been agreed upon.

Currently, the launched program name is used for some things other than setting sys.executable, and I believe it should continue to be used for those. But there are also needs for overriding sys.executable to be something other than the current process (e.g. a launcher that simply loads Python into its own process, but needs a different process to be used for multiprocessing support).

Victor has been looking at the initialization process, so I'm not sure if something has already changed here yet. I'd be keen to see the getpath part of initialization be written in (frozen or limited) Python code that can be easily overridden by embedders to initialize all of these members however they like. That way everyone can equally lie about argv0/GetModuleFullPath and sys.prefix/sys.executable/etc.

Until we get there, we may just need a couple more configuration fields, and perhaps some that default to one of the others when unspecified.
Date User Action Args
2018-10-03 18:26:29steve.dowersetrecipients: + steve.dower, paul.moore, vstinner, tim.golden, zach.ware, mariofutire
2018-10-03 18:26:29steve.dowersetmessageid: <>
2018-10-03 18:26:29steve.dowerlinkissue34725 messages
2018-10-03 18:26:29steve.dowercreate