memory-graph 0.3.68__tar.gz → 0.3.69__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.
- {memory_graph-0.3.68 → memory_graph-0.3.69}/PKG-INFO +1 -1
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/__init__.py +3 -3
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph.egg-info/PKG-INFO +1 -1
- {memory_graph-0.3.68 → memory_graph-0.3.69}/pyproject.toml +1 -1
- {memory_graph-0.3.68 → memory_graph-0.3.69}/LICENSE.txt +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/README.md +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/call_stack.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/config.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/config_default.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/config_helpers.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/extension_numpy.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/extension_pandas.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/extension_torch.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/html_table.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/list_view.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/memory_to_nodes.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/node_base.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/node_key_value.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/node_leaf.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/node_linear.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/node_table.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/sequence.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/slicer.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/slices.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/slices_iterator.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/slices_table_iterator.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/test.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/test_max_graph_depth.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/test_memory_graph.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/test_memory_to_nodes.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/test_sequence.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/test_slicer.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/test_slices.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/test_slices_iterator.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph/utils.py +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph.egg-info/SOURCES.txt +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph.egg-info/dependency_links.txt +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph.egg-info/requires.txt +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/memory_graph.egg-info/top_level.txt +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/setup.cfg +0 -0
- {memory_graph-0.3.68 → memory_graph-0.3.69}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: memory_graph
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.69
|
|
4
4
|
Summary: Teaching tool and debugging aid in context of references, mutable data types, and shallow and deep copy.
|
|
5
5
|
Author-email: Bas Terwijn <bterwijn@gmail.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Copyright (c) 2023, Bas Terwijn.
|
|
3
3
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
4
4
|
|
|
5
|
-
__version__ = "0.3.
|
|
5
|
+
__version__ = "0.3.69"
|
|
6
6
|
__author__ = 'Bas Terwijn'
|
|
7
7
|
|
|
8
8
|
import memory_graph.memory_to_nodes as memory_to_nodes
|
|
@@ -290,14 +290,14 @@ def stack_multi_slice(drop_functions : List[Tuple[str, int]] = [],
|
|
|
290
290
|
def stack(end_functions=["<module>"], stack_index=0):
|
|
291
291
|
return stack_slice([], end_functions, stack_index+2)
|
|
292
292
|
|
|
293
|
-
def stack_exception(exception):
|
|
293
|
+
def stack_exception(exception, stack_index=0):
|
|
294
294
|
""" Get the call stack at the point 'exception' was thrown. """
|
|
295
295
|
tb = exception.__traceback__
|
|
296
296
|
frame_infos = []
|
|
297
297
|
while tb is not None:
|
|
298
298
|
frame_infos.append(types.SimpleNamespace(frame=tb.tb_frame))
|
|
299
299
|
tb = tb.tb_next
|
|
300
|
-
return stack_frames_to_dict(frame_infos)
|
|
300
|
+
return stack_frames_to_dict(frame_infos[stack_index:])
|
|
301
301
|
|
|
302
302
|
def stack_pdb(begin_functions=[("trace_dispatch",1)],
|
|
303
303
|
end_functions=["<module>"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: memory_graph
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.69
|
|
4
4
|
Summary: Teaching tool and debugging aid in context of references, mutable data types, and shallow and deep copy.
|
|
5
5
|
Author-email: Bas Terwijn <bterwijn@gmail.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "memory_graph"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.69"
|
|
8
8
|
description = "Teaching tool and debugging aid in context of references, mutable data types, and shallow and deep copy."
|
|
9
9
|
authors = [
|
|
10
10
|
{name = "Bas Terwijn", email = "bterwijn@gmail.com"}
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|