Message173561
I understand what happens. Python 3.3+ uses getdents(), not stat() for module search. Therefore stat() is not called for non-existed files.
> It stands that while the -S and -E option allow to disable any customization a user might have done (which is necessary for e.g. suid scripts), the automatic insertion of '' into sys.path has no way of being undone.
Python used not only for suid scripts. |
|
Date |
User |
Action |
Args |
2012-10-22 19:10:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, brett.cannon, jcea, ncoghlan, pitrou, vstinner, eric.araujo, r.david.murray, Niels.Heinen |
2012-10-22 19:10:03 | serhiy.storchaka | set | messageid: <1350933003.98.0.977775519231.issue12238@psf.upfronthosting.co.za> |
2012-10-22 19:10:03 | serhiy.storchaka | link | issue12238 messages |
2012-10-22 19:10:03 | serhiy.storchaka | create | |
|