3013b5a6e4c682004207e944ebea172a39e52e8c,debug_toolbar/utils/__init__.py,,render_stacktrace,#,55
Before Change
for frame in trace:
params = map(escape, frame[0].rsplit(os.path.sep, 1) + list(frame[1:]))
try:
stacktrace.append(u"<span class="path">{0}/</span><span class="file">{1}</span> in <span class="func">{3}</span>(<span class="lineno">{2}</span>)\n <span class="code">{4}</span>".format(*params))
except IndexError:
// This frame doesn"t have the expected format, so skip it and move on to the next one
continue
After Change
stacktrace = []
for frame in trace:
params = map(escape, frame[0].rsplit(os.path.sep, 1) + list(frame[1:]))
params_dict = dict((unicode(idx), v) for idx, v in enumerate(params))
try:
stacktrace.append(u"<span class="path">%(0)s/</span>"
u"<span class="file">%(1)s</span>"
u" in <span class="func">%(3)s</span>"
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: jazzband/django-debug-toolbar
Commit Name: 3013b5a6e4c682004207e944ebea172a39e52e8c
Time: 2012-12-11
Author: david@gasmark6.com
File Name: debug_toolbar/utils/__init__.py
Class Name:
Method Name: render_stacktrace
Project Name: mahyarnajibi/SNIPER
Commit Name: 234ed9457aa8bdaf10fd46b75e794eeae29bbc87
Time: 2018-03-17
Author: mahyarnajibi@gmail.com
File Name: main_chips.py
Class Name:
Method Name:
Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: a04c03ec4d1a64bff66d1cd758aee4e782b206f5
Time: 2019-11-14
Author: Andrew.Rowley@manchester.ac.uk
File Name: spynnaker/pyNN/connections/spynnaker_poisson_control_connection.py
Class Name: SpynnakerPoissonControlConnection
Method Name: __init__
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 2d2820c9dc71cf17e1efd08177c1001b34b250cf
Time: 2019-06-20
Author: anguillanneuf@gmail.com
File Name: pubsub/cloud-client/publisher.py
Class Name:
Method Name: publish_messages_with_error_handler