Message245983
As others have noted, we're not going to change this default in the standard CPython executable (due to the degree of disruption involved), and the -S and -I switches already effectively turn it off (by disabling site module processing entirely)
However, it could be reasonable to consider offering a way to disable *just* the execution of arbitrary code from .pth files, while otherwise allowing the site module to run. |
|
Date |
User |
Action |
Args |
2015-06-30 08:20:55 | ncoghlan | set | recipients:
+ ncoghlan, lemburg, brett.cannon, vstinner, r.david.murray, eric.snow, minrk, tdsmith |
2015-06-30 08:20:54 | ncoghlan | set | messageid: <1435652454.9.0.161284530132.issue24534@psf.upfronthosting.co.za> |
2015-06-30 08:20:54 | ncoghlan | link | issue24534 messages |
2015-06-30 08:20:54 | ncoghlan | create | |
|