80b9759538f3bbe3bf841cbe81b327519ca08ced,src/python/pants/backend/python/resolver.py,,resolve_multi,#Any#Any#Any#Any#Any#Any#,53

Before Change


  platforms = get_platforms(platforms or config.getlist("python-setup", "platforms", ["current"]))

  for platform in platforms:
    translator = Translator.default(
        install_cache=install_cache,
        interpreter=interpreter,
        platform=platform,
        conn_timeout=conn_timeout)

    obtainer = PantsObtainer(
        install_cache=install_cache,
        crawler=crawler_from_config(config, conn_timeout=conn_timeout),
        fetchers=fetchers_from_config(config) or [PyPIFetcher()],
        translators=translator)

    distributions[platform] = resolve(requirements=requirements,
                                      obtainer=obtainer,
                                      interpreter=interpreter,

After Change


  platforms = get_platforms(platforms or config.getlist("python-setup", "platforms", ["current"]))
  fetchers = fetchers_from_config(config)
  if find_links:
    fetchers.extend(Fetcher([path]) for path in find_links)
  context = context_from_config(config)

  for platform in platforms:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 80b9759538f3bbe3bf841cbe81b327519ca08ced
Time: 2014-12-03
Author: wickman@apache.org
File Name: src/python/pants/backend/python/resolver.py
Class Name:
Method Name: resolve_multi


Project Name: HyperGAN/HyperGAN
Commit Name: 18f8e6152da9ccfdd667f3bb71d7f25fa9fc2626
Time: 2017-06-05
Author: mikkel@255bits.com
File Name: tests/gan_test.py
Class Name:
Method Name:


Project Name: googledatalab/pydatalab
Commit Name: 73fad9d06454d7942279475999923af4337edca7
Time: 2017-10-26
Author: 4618540+rajivpb@users.noreply.github.com
File Name: google/datalab/contrib/bigquery/operators/_bq_extract_operator.py
Class Name: ExtractOperator
Method Name: execute