When trying to write new bytecode, importlib was not catching the IOError
thrown if the file happened to be read-only to keep the failure silent. Fixes issue #7187. Thanks, Dave Malcolm for the report and analysis of the problem.
B
Brett Cannon committed
e52c919d67a20b235de008aed8a165778d78b2a9
Parent: 1b184d5