invocation-tree 0.0.18__tar.gz → 0.0.19__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.18/invocation_tree.egg-info → invocation_tree-0.0.19}/PKG-INFO +1 -1
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/invocation_tree/__init__.py +5 -4
- {invocation_tree-0.0.18 → invocation_tree-0.0.19/invocation_tree.egg-info}/PKG-INFO +1 -1
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/pyproject.toml +1 -1
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/LICENSE.txt +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/MANIFEST.in +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/README.md +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/compute.gif +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/compute.py +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/create_gif.sh +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/create_images.sh +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/factorial.gif +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/factorial.py +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/permutations.gif +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/permutations.py +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/students.gif +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/students.py +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/images/vscode.png +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/invocation_tree.egg-info/SOURCES.txt +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/invocation_tree.egg-info/dependency_links.txt +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/invocation_tree.egg-info/requires.txt +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/invocation_tree.egg-info/top_level.txt +0 -0
- {invocation_tree-0.0.18 → invocation_tree-0.0.19}/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.19"
|
|
11
11
|
__author__ = 'Bas Terwijn'
|
|
12
12
|
|
|
13
13
|
def highlight_diff(str1, str2):
|
|
@@ -287,15 +287,16 @@ class Invocation_Tree:
|
|
|
287
287
|
|
|
288
288
|
def local_multiplexer(frame, event, arg):
|
|
289
289
|
""" Multiplexes between the local tracer and any previous local tracer so it works in a debugger too. """
|
|
290
|
+
nonlocal prev_local_tracer
|
|
290
291
|
# call local tracer
|
|
291
292
|
new_local_tracer = local_tracer(frame, event, arg)
|
|
292
293
|
if prev_local_tracer is not None:
|
|
293
294
|
# call previous local tracer if any existed
|
|
294
|
-
|
|
295
|
+
prev_local_tracer = prev_local_tracer(frame, event, arg)
|
|
295
296
|
# if previous local tracer returns None, stop tracing this frame as debugger probably stopped it
|
|
296
|
-
if
|
|
297
|
+
if prev_local_tracer is None:
|
|
297
298
|
return None
|
|
298
|
-
return
|
|
299
|
+
return local_multiplexer
|
|
299
300
|
|
|
300
301
|
return local_multiplexer
|
|
301
302
|
|
|
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.18 → invocation_tree-0.0.19}/invocation_tree.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|