Message276344
Windows's _sys.path file (being renamed from sys.path in b1) currently disable the initial "import site; site.main()" call. However, there are legitimate cases where you may want to opt-in to this while still controlling the search paths.
We should support "import site" as a line in this file that indicates that Py_NoSite should *not* be set. We deliberately do not want arbitrary code execution from this file - there's a reason it's '.path' and not '.pth'
(While I or someone else is here, we should also handle blank lines and lines starting with '#' specially, so that files can be formatted more nicely.) |
|
Date |
User |
Action |
Args |
2016-09-13 21:11:22 | steve.dower | set | recipients:
+ steve.dower, paul.moore, tim.golden, zach.ware |
2016-09-13 21:11:22 | steve.dower | set | messageid: <1473801082.85.0.435937363317.issue28138@psf.upfronthosting.co.za> |
2016-09-13 21:11:22 | steve.dower | link | issue28138 messages |
2016-09-13 21:11:22 | steve.dower | create | |
|