744451e5c0cb081c2753ea139f738ee0eadeb959,PyInstaller/depend/analysis.py,,get_bootstrap_modules,#,580
Before Change
:return: TOC with modules
// Import "struct" modules to get real paths to module file names.
mod1 = __import__("_struct") // C extension.
mod2 = __import__("struct")
// Basic modules necessary for the bootstrap process.
loader_mods = []
After Change
// built-in modules (linked statically) and thus does not have attribute __file__.
// "struct" module is required for reading Python bytecode from executable.
// "zlib" is required to decompress this bytecode.
for mod_name in ["_struct", "zlib"]:
mod = __import__(mod_name) // C extension.
if hasattr(mod, "__file__"):
loader_mods.append(("_struct", os.path.abspath(mod.__file__), "EXTENSION"))
// NOTE:These modules should be kept simple without any complicated dependencies.
loader_mods +=[
("struct", os.path.abspath(mod_struct.__file__), "PYMODULE"),
("pyimod01_os_path", os.path.join(loaderpath, "pyimod01_os_path.pyc"), "PYMODULE"),
("pyimod02_archive", os.path.join(loaderpath, "pyimod02_archive.pyc"), "PYMODULE"),
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: pyinstaller/pyinstaller
Commit Name: 744451e5c0cb081c2753ea139f738ee0eadeb959
Time: 2015-07-31
Author: mzibr.public@gmail.com
File Name: PyInstaller/depend/analysis.py
Class Name:
Method Name: get_bootstrap_modules
Project Name: Theano/Theano
Commit Name: b89c3fb6c32307bf5b2ee637bab356426557bf4a
Time: 2017-02-14
Author: joaovictor.risso@gmail.com
File Name: theano/__init__.py
Class Name:
Method Name:
Project Name: Esri/raster-functions
Commit Name: 8e498867fcf6eb4ec7faf906f488b14a603c6616
Time: 2016-02-10
Author: akferoz@esri.com
File Name: functions/utils.py
Class Name: ZonalAttributesTable
Method Name: __init__