This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Niels.Heinen, brett.cannon, eric.araujo, jcea, loewis, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2012-10-22.19:10:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:04serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, brett.cannon, jcea, ncoghlan, pitrou, vstinner, eric.araujo, r.david.murray, Niels.Heinen
2012-10-22 19:10:03serhiy.storchakasetmessageid: <>
2012-10-22 19:10:03serhiy.storchakalinkissue12238 messages
2012-10-22 19:10:03serhiy.storchakacreate