Brett Cannon added the comment:

Attached is a patch that introduces _LoaderBasics.parse_bytecode_file(). It 
takes in basically what _bytes_from_bytecode() did plus a keyword-only boolean 
flag for exception suppression as that's needed to ignore stale bytecode when 
source is available.

I still need to write specific tests for the method, but test.test_importlib 

components: +Library (Lib) -Interpreter Core
Added file:

Python tracker <>
Python-bugs-list mailing list

Reply via email to