Author eryksun
Recipients christian.heimes, eryksun, houjingyi233, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-01-12.17:03:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610470980.87.0.542132978087.issue42902@roundup.psfhosted.org>
In-reply-to
Content
> I still don't understand if the issue involves Py_SetPath() or not.

It seems to me that this issue is concerned with the default behavior that looks for the "lib/os.py" landmark via search_for_prefix() in PC/getpathp.c. Starting at the image path, it searches for the landmark up to the root directory. Any authenticated user can create a "C:/Lib" directory.

That said, I don't think the normal Python distribution is intended to be a base installation for embedding applications, as opposed to using a private copy of the embedded distribution. So in practice there may be no issue here.
History
Date User Action Args
2021-01-12 17:03:00eryksunsetrecipients: + eryksun, paul.moore, vstinner, christian.heimes, tim.golden, zach.ware, steve.dower, houjingyi233
2021-01-12 17:03:00eryksunsetmessageid: <1610470980.87.0.542132978087.issue42902@roundup.psfhosted.org>
2021-01-12 17:03:00eryksunlinkissue42902 messages
2021-01-12 17:03:00eryksuncreate