invocation-tree 0.0.22__tar.gz → 0.0.23__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {invocation_tree-0.0.22/invocation_tree.egg-info → invocation_tree-0.0.23}/PKG-INFO +1 -1
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/invocation_tree/__init__.py +9 -3
- {invocation_tree-0.0.22 → invocation_tree-0.0.23/invocation_tree.egg-info}/PKG-INFO +1 -1
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/pyproject.toml +1 -1
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/LICENSE.txt +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/MANIFEST.in +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/README.md +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/compute.gif +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/compute.py +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/create_gif.sh +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/create_images.sh +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/factorial.gif +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/factorial.py +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/permutations.gif +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/permutations.py +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/students.gif +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/students.py +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/images/vscode.png +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/invocation_tree.egg-info/SOURCES.txt +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/invocation_tree.egg-info/dependency_links.txt +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/invocation_tree.egg-info/requires.txt +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/invocation_tree.egg-info/top_level.txt +0 -0
- {invocation_tree-0.0.22 → invocation_tree-0.0.23}/setup.cfg +0 -0
|
@@ -7,7 +7,7 @@ import html
|
|
|
7
7
|
import sys
|
|
8
8
|
import difflib
|
|
9
9
|
|
|
10
|
-
__version__ = "0.0.
|
|
10
|
+
__version__ = "0.0.23"
|
|
11
11
|
__author__ = 'Bas Terwijn'
|
|
12
12
|
|
|
13
13
|
def highlight_diff(str1, str2):
|
|
@@ -303,12 +303,18 @@ class Invocation_Tree:
|
|
|
303
303
|
if prev_local_tracer is not None:
|
|
304
304
|
# call previous local tracer if any existed and update it
|
|
305
305
|
prev_local_tracer = prev_local_tracer(frame, event, arg)
|
|
306
|
-
if prev_local_tracer is None:
|
|
307
|
-
|
|
306
|
+
# if prev_local_tracer is None:
|
|
307
|
+
# return None # stop tracing if debugger stopped tracing
|
|
308
|
+
self.reset_tracer()
|
|
308
309
|
return local_multiplexer
|
|
309
310
|
|
|
310
311
|
return local_multiplexer
|
|
311
312
|
|
|
313
|
+
def reset_tracer(self, hard = False):
|
|
314
|
+
""" Reset the global tracer to Invocation_Tree.global_tracer(). """
|
|
315
|
+
if hard or sys.gettrace() == None:
|
|
316
|
+
sys.settrace(self.global_tracer) # reinforce global tracer, as DBD debugger 'continue' may disable it
|
|
317
|
+
|
|
312
318
|
|
|
313
319
|
def blocking(filename='tree.pdf'):
|
|
314
320
|
return Invocation_Tree(filename=filename)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{invocation_tree-0.0.22 → invocation_tree-0.0.23}/invocation_tree.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|