f259c920b941a573451c1a1fe81c407689c5768a,setup.py,,get_extensions,#,39

Before Change


    original_wd = os.getcwd()
    // Change directory to setup directory to ensure correct globbing
    os.chdir(dirname(abspath(__file__)))
    ext_sources = glob.glob(normpath("src/biotite/**/*.c"), recursive=True)
    ext_names = [source
                 .replace("src"+normpath("/"), "")
                 .replace(".c", "")

After Change


    original_wd = os.getcwd()
    // Change directory to setup directory to ensure correct globbing
    os.chdir(dirname(abspath(__file__)))
    ext_sources = []
    for dirpath, dirnames, filenames in os.walk(normpath("src/biotite")):
        for filename in fnmatch.filter(filenames, "*.c"):
            ext_sources.append(os.path.join(dirpath, filename))
    ext_names = [source
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biotite-dev/biotite
Commit Name: f259c920b941a573451c1a1fe81c407689c5768a
Time: 2018-02-08
Author: patrick.kunzm@gmail.com
File Name: setup.py
Class Name:
Method Name: get_extensions


Project Name: jazzband/django-debug-toolbar
Commit Name: 4225671177f9f65e873ddbab373e5968c2afa8fc
Time: 2013-12-23
Author: jannis@leidel.info
File Name: debug_toolbar/panels/staticfiles.py
Class Name: StaticFilesPanel
Method Name: get_staticfiles_dirs


Project Name: brian-team/brian2
Commit Name: da0932fbef2254a50e1b4c6b6eb1176715dcc421
Time: 2015-10-26
Author: dg.github@thesamovar.net
File Name: brian2/core/base.py
Class Name: BrianObject
Method Name: __init__