372fd533cd13417180faf6a4e487b7a038beba0d,lib/streamlit/st.py,,write,#,51

Before Change


                string_buffer.append("`%s`" % escape_markdown(str(arg)))

        flush_buffer()
    except Exception as e:
        exception(e)

@contextlib.contextmanager

After Change


                string_buffer.append("`%s`" % escape_markdown(str(arg)))

        flush_buffer()
    except:
        _, exception, traceback = sys.exc_info()
        exception(exception, traceback)

@contextlib.contextmanager
def spinner(text):
    Temporarily displays a message while executing a block of code.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: streamlit/streamlit
Commit Name: 372fd533cd13417180faf6a4e487b7a038beba0d
Time: 2018-06-18
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/st.py
Class Name:
Method Name: write


Project Name: home-assistant/home-assistant
Commit Name: 001f27cdb440aae0887fa9d52b6f981962eeb1ea
Time: 2014-10-17
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/components/http/__init__.py
Class Name: RequestHandler
Method Name: _handle_request


Project Name: studioml/studio
Commit Name: cdfbb85c69413e3650b49eb608727e1e2ea35958
Time: 2017-08-25
Author: peter.zhokhov@sentient.ai
File Name: studio/model_util.py
Class Name: BufferedPipe
Method Name: _wrapped_func