Gregory P. Smith added the comment:

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).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25711>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to