44825d81e914dd1fdb89fe47f9bac3affe075fbd,python/ray/worker.py,,_changeproctitle,#Any#Any#,1345

Before Change


@contextmanager
def _changeproctitle(title, next_title):
    setproctitle.setproctitle(title)
    yield
    setproctitle.setproctitle(next_title)


def register_custom_serializer(cls,

After Change


@contextmanager
def _changeproctitle(title, next_title):
    setproctitle.setproctitle(title)
    try:
        yield
    finally:
        setproctitle.setproctitle(next_title)


def register_custom_serializer(cls,
                               serializer,
                               deserializer,
                               use_pickle=False,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: 44825d81e914dd1fdb89fe47f9bac3affe075fbd
Time: 2020-04-08
Author: ian.rodney@gmail.com
File Name: python/ray/worker.py
Class Name:
Method Name: _changeproctitle


Project Name: streamlit/streamlit
Commit Name: 8cc75b0bbbf71776825891d77b70dc3a1f4ff913
Time: 2019-07-01
Author: tconkling@gmail.com
File Name: lib/streamlit/ScriptRunner.py
Class Name: ScriptRunner
Method Name: _set_execing_flag


Project Name: streamlit/streamlit
Commit Name: 63630d4b66a0c8bdaa8ac924a3eb4755419e2b6c
Time: 2018-08-07
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/__init__.py
Class Name:
Method Name: spinner


Project Name: streamlit/streamlit
Commit Name: 428de4b8d7ef06fe6970ab86e2c7c01b900ba9b5
Time: 2018-08-16
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/__init__.py
Class Name:
Method Name: spinner