Author Nils Kattenbeck
Recipients Nils Kattenbeck, bethard, jwilk, ncoghlan, paul.j3, peter.otten, samuelmarks, tebeka, zertrin
Date 2021-08-08.22:41:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I implemented the logic and adjusted the existing tests to have a fixed program name. I also fixed the build error by changing how zip files are detected. Based on you comment Nick you however even had a different idea. Currently I check if __spec__.__loader__ is a zip loader but if I understood correct you suggest the check if __spec__.__location__ is a proper subdir of sys.argv[0]?

When I have some more time I will check whether mocking works and otherwise checkout or making the function accept spec/argv0
Date User Action Args
2021-08-08 22:41:00Nils Kattenbecksetrecipients: + Nils Kattenbeck, tebeka, ncoghlan, peter.otten, bethard, jwilk, paul.j3, zertrin, samuelmarks
2021-08-08 22:41:00Nils Kattenbecksetmessageid: <>
2021-08-08 22:41:00Nils Kattenbecklinkissue22240 messages
2021-08-08 22:41:00Nils Kattenbeckcreate