Message384966
> 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. |
|
Date |
User |
Action |
Args |
2021-01-12 17:03:00 | eryksun | set | recipients:
+ eryksun, paul.moore, vstinner, christian.heimes, tim.golden, zach.ware, steve.dower, houjingyi233 |
2021-01-12 17:03:00 | eryksun | set | messageid: <1610470980.87.0.542132978087.issue42902@roundup.psfhosted.org> |
2021-01-12 17:03:00 | eryksun | link | issue42902 messages |
2021-01-12 17:03:00 | eryksun | create | |
|