Author gregory.p.smith
Recipients brett.cannon, byrnes, diana, eric.snow, gregory.p.smith, serhiy.storchaka, superluser, twouters, vstinner
Date 2016-12-10.20:14:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481400864.35.0.599321958175.issue25711@psf.upfronthosting.co.za>
In-reply-to
Content
So long as this code block that imports os is avoided, I believe that this can be properly frozen:

+        if not isinstance(path, str):
+            import os
+            path = os.fsdecode(path)

But it should be easy to avoid that code path when the standard library is a zip file.

Otherwise it uses importlib (frozen), marshal (builtin), sys (builtin), time (builtin), and zlib [if present] (extension module).
History
Date User Action Args
2016-12-10 20:14:24gregory.p.smithsetrecipients: + gregory.p.smith, twouters, brett.cannon, vstinner, eric.snow, serhiy.storchaka, diana, superluser, byrnes
2016-12-10 20:14:24gregory.p.smithsetmessageid: <1481400864.35.0.599321958175.issue25711@psf.upfronthosting.co.za>
2016-12-10 20:14:24gregory.p.smithlinkissue25711 messages
2016-12-10 20:14:24gregory.p.smithcreate