bd0a85deef1abb21022b00e8999b47ba1f8ab600,src/python/pants/bin/pants_exe.py,,main,#,98

Before Change



  try:
    // Run with profiling, if requested.
    profile_path = os.environ.get("PANTS_PROFILE")
    if profile_path:
      import cProfile
      profiler = cProfile.Profile()
      try:
        profiler.runcall(do_run)
      finally:
        profiler.dump_stats(profile_path)

After Change


  exiter.set_except_hook()

  try:
    LocalPantsRunner(exiter).run()
  except KeyboardInterrupt:
    exiter.exit_and_fail("Interrupted by user.")

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: bd0a85deef1abb21022b00e8999b47ba1f8ab600
Time: 2015-11-11
Author: kwilson@twopensource.com
File Name: src/python/pants/bin/pants_exe.py
Class Name:
Method Name: main


Project Name: pantsbuild/pants
Commit Name: d628ecaa242fe5fa96d46764ca9268d6dd68f426
Time: 2015-10-23
Author: benjy@foursquare.com
File Name: src/python/pants/bin/pants_exe.py
Class Name:
Method Name: _run


Project Name: kengz/SLM-Lab
Commit Name: 60d3325b8551cc6f7592e1266878818ad07d3b3a
Time: 2018-01-13
Author: kengzwl@gmail.com
File Name: slm_lab/experiment/control.py
Class Name: Experiment
Method Name: run