6849655d735f388019e8c6f680f204c81cf31b94,PyInstaller/configure.py,,find_PYZ_dependencies,#Any#,136

Before Change


            ("struct", os.path.abspath(mod2.__file__), "PYMODULE"),
            ("pyi_os_path", os.path.join(loaderpath, "pyi_os_path.pyc"), "PYMODULE"),
            ("pyi_archive",  os.path.join(loaderpath, "pyi_archive.pyc"), "PYMODULE"),
            ("pyi_importers",  os.path.join(loaderpath, "pyi_importers.pyc"), "PYMODULE")
        ] )       

    config["PYZ_dependencies"] = toc.data

After Change


    // On some platforms (Windows, Debian/Ubuntu) "_struct" module is a built-in module (linked statically)
    // and thus does not have attribute __file__.
    // TODO verify this __file__ check on windows.
    if hasattr(mod1, "__file__"):
        loader_mods =[("_struct", os.path.abspath(mod1.__file__), "EXTENSION")]

    loader_mods +=[
        ("struct", os.path.abspath(mod2.__file__), "PYMODULE"),
        ("pyi_os_path", os.path.join(loaderpath, "pyi_os_path.pyc"), "PYMODULE"),
        ("pyi_archive",  os.path.join(loaderpath, "pyi_archive.pyc"), "PYMODULE"),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: 6849655d735f388019e8c6f680f204c81cf31b94
Time: 2014-03-23
Author: mzibr.public@gmail.com
File Name: PyInstaller/configure.py
Class Name:
Method Name: find_PYZ_dependencies


Project Name: vatlab/SoS
Commit Name: 773a6a04ef433117ed89b2d8656c8c3e52d6c191
Time: 2017-03-06
Author: ben.bog@gmail.com
File Name: sos/sos_executor.py
Class Name: Base_Executor
Method Name: run


Project Name: mindsdb/mindsdb
Commit Name: 1598381b2bed5d2d8fc95ebce957516d6f4c5463
Time: 2021-02-20
Author: stpmax@yandex.ru
File Name: mindsdb/api/mysql/mysql_proxy/mysql_proxy.py
Class Name: MysqlProxy
Method Name: initSession