9f7bdb29dfdc554632ba447fbedf648415d927f0,src/python/pants/backend/python/tasks/python_repl.py,PythonRepl,execute,#PythonRepl#,31

Before Change



      with self.temporary_pex_builder(interpreter=interpreter) as builder:
        builder.set_entry_point(entry_point)
        chroot = PythonChroot(
          context=self.context,
          targets=targets,
          extra_requirements=extra_requirements,
          builder=builder,
          interpreter=interpreter)

        chroot.dump()
        builder.freeze()
        pex = PEX(builder.path(), interpreter=interpreter)
        self.context.release_lock()
        with stty_utils.preserve_stty_settings():
          with self.context.new_workunit(name="run", labels=[WorkUnit.RUN]):
            po = pex.run(blocking=False, **pex_run_kwargs)
            try:

After Change


                                 extra_requirements=extra_requirements,
                                 pre_freeze=lambda ch: ch.builder.set_entry_point(entry_point)) as chroot:
        pex = PEX(chroot.builder.path(), interpreter=interpreter)
        self.context.release_lock()
        with stty_utils.preserve_stty_settings():
          with self.context.new_workunit(name="run", labels=[WorkUnit.RUN]):
            po = pex.run(blocking=False, **pex_run_kwargs)
            try:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 9f7bdb29dfdc554632ba447fbedf648415d927f0
Time: 2015-03-23
Author: benjyw@gmail.com
File Name: src/python/pants/backend/python/tasks/python_repl.py
Class Name: PythonRepl
Method Name: execute


Project Name: pantsbuild/pants
Commit Name: 9b372d5fc96423363d4742f36e32581c820fbd0c
Time: 2017-02-09
Author: benjyw@gmail.com
File Name: src/python/pants/backend/python/tasks2/python_run.py
Class Name: PythonRun
Method Name: execute


Project Name: pantsbuild/pants
Commit Name: 0e632d67fafe0d1017e4c63d1017c1e493382b98
Time: 2015-09-03
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/python/tasks/python_repl.py
Class Name: PythonRepl
Method Name: execute