5bfd6cdef169103f539a092920f0004bfa5fb6f4,src/python/pants/option/config.py,Config,_meta_load,#Any#Any#Any#Any#,81

Before Change


    for config_item in config_items:
      parser = cls._create_parser(seed_values)
      with open_ctx(config_item) as ini:
        parser.read_file(ini)
      config_path = config_item.path if hasattr(config_item, "path") else config_item
      single_file_configs.append(_SingleFileConfig(config_path, parser))

    return _ChainedConfig(single_file_configs)

After Change


    for config_item in config_items:
      parser = cls._create_parser(seed_values)
      with open_ctx(config_item) as ini:
        content = ini.read()
        content_digest = sha1(content).hexdigest()
        parser.read_string(content.decode("utf-8"))
      config_path = config_item.path if hasattr(config_item, "path") else config_item
      single_file_configs.append(_SingleFileConfig(config_path, content_digest, parser))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 5bfd6cdef169103f539a092920f0004bfa5fb6f4
Time: 2018-12-06
Author: stuhood@twitter.com
File Name: src/python/pants/option/config.py
Class Name: Config
Method Name: _meta_load


Project Name: p2irc/deepplantphenomics
Commit Name: 7a64a6de40303b7febb4ec02cb925dc948117160
Time: 2017-01-31
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: __parseImages


Project Name: biolab/orange3
Commit Name: 7fe17623d093a7ec5546edafc48f18dae344dc27
Time: 2016-05-03
Author: anze.staric@gmail.com
File Name: Orange/tests/test_xlsx_reader.py
Class Name: TextExcelSheets
Method Name: test_named_sheet