[Python-Dev] [compatibility-sig] making sure importlib.machinery.SourceLoader doesn't throw an exception if bytecode is not supported by a VM (original) (raw)

Eric Snow ericsnowcurrently at gmail.com
Tue Jun 12 20:28:09 CEST 2012


On Tue, Jun 12, 2012 at 10:48 AM, Brett Cannon <brett at python.org> wrote:

I should mention another option is to add sys.dontreadbytecode (I think I have discussed this with Frank at some point).

Or check for "sys.implementation.cache_tag is None"...

-eric



More information about the Python-Dev mailing list