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

Alex Gaynor alex.gaynor at gmail.com
Tue Jun 12 18:38:43 CEST 2012


For PyPy: I'm not an expert in our import, but from looking at the source

1) imp.cache_from_source is unimplemented, it's an AttributeError.

2) sys.dont_write_bytecode is always false, we don't respect that flag (we really
   should IMO, but it's not a high priority for me, or anyone else apparently)

Alex



More information about the Python-Dev mailing list