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

fwierzbicki at gmail.com fwierzbicki at gmail.com
Tue Jun 12 19:06:43 CEST 2012


On Tue, Jun 12, 2012 at 10:04 AM, fwierzbicki at gmail.com
<fwierzbicki at gmail.com> wrote:
> Jython does support sys.dont_write_bytecode, but doesn't support
> sys.dont_read_bytecode yet - do you happen to know when
> dont_read_bytecode was added? It should be pretty straightforward, and
> so I'll probably add it to our 2.7.
Looking around it seems dont_read_bytecode came in sometime in 3.x so
I'll wait for 3 (and so I'll probably just use importlib....? :)

-Frank


More information about the Python-Dev mailing list