Am 21.11.2011 20:25, schrieb Hartmut Goebel: > Am 21.11.2011 01:04, schrieb Daniel Hyams: >> Note that the test will pass, if you have PIL installed, because >> imports "leak" through to your installed python. [To prove this, >> stick a print statement at the top of > Huh? How can this leak if sys.path is only _MEIPASS-dir? Answering myself: Image.__file__ contains the path to the original site-packages dir, and basename(__file__) is added to the search path.
-- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult ist Mitglied bei http://www.7-it.de
smime.p7s
Description: S/MIME Cryptographic Signature
