Added workaround for bad python bytecompiles