kenenet 0.6.0__py3-none-any.whl → 0.6.2__py3-none-any.whl
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.
- kenenet/__init__.py +3 -3
- {kenenet-0.6.0.dist-info → kenenet-0.6.2.dist-info}/METADATA +1 -1
- kenenet-0.6.2.dist-info/RECORD +5 -0
- kenenet-0.6.0.dist-info/RECORD +0 -5
- {kenenet-0.6.0.dist-info → kenenet-0.6.2.dist-info}/WHEEL +0 -0
- {kenenet-0.6.0.dist-info → kenenet-0.6.2.dist-info}/top_level.txt +0 -0
kenenet/__init__.py
CHANGED
@@ -76,7 +76,7 @@ class _VariableTracker:
|
|
76
76
|
return f"<{type(value).__name__} object>"
|
77
77
|
|
78
78
|
def _print_change(self, name, old, new, scope="Global"):
|
79
|
-
frame = inspect.currentframe().f_back
|
79
|
+
frame = inspect.currentframe().f_back.f_back
|
80
80
|
lineno = frame.f_lineno
|
81
81
|
quick_print(f"{scope} '{name}' changed from {self._format_value(old)} -> {self._format_value(new)}", lineno)
|
82
82
|
|
@@ -90,7 +90,7 @@ class _VariableTracker:
|
|
90
90
|
sys.settrace(_track_frame)
|
91
91
|
self.active = True
|
92
92
|
frame = inspect.currentframe().f_back
|
93
|
-
lineno = frame.f_lineno
|
93
|
+
lineno = frame.f_lineno.f_back
|
94
94
|
quick_print(f"Started debugging", lineno)
|
95
95
|
|
96
96
|
def _stop_tracking(self):
|
@@ -99,7 +99,7 @@ class _VariableTracker:
|
|
99
99
|
self.frame_locals.clear()
|
100
100
|
self.global_vars.clear()
|
101
101
|
self.active = False
|
102
|
-
frame = inspect.currentframe().f_back
|
102
|
+
frame = inspect.currentframe().f_back.f_back
|
103
103
|
lineno = frame.f_lineno
|
104
104
|
quick_print(f"Stopped debugging", lineno)
|
105
105
|
|
@@ -0,0 +1,5 @@
|
|
1
|
+
kenenet/__init__.py,sha256=wUqjELCN6VCVwLZwthfUHZ3p4xOVJuMbuR9ohdtfJ2A,8349
|
2
|
+
kenenet-0.6.2.dist-info/METADATA,sha256=ug2bPw17gN9h-ORdttvqnV2s_UHiUhDF2qwzVp0fu8M,633
|
3
|
+
kenenet-0.6.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
kenenet-0.6.2.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
+
kenenet-0.6.2.dist-info/RECORD,,
|
kenenet-0.6.0.dist-info/RECORD
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
kenenet/__init__.py,sha256=HJO0bt8-HQS9tz4eR6AlvLF8jOtygHnITBhCPW1d4dM,8328
|
2
|
-
kenenet-0.6.0.dist-info/METADATA,sha256=k8nNkFwqc8UCU6vV-Bnl_GNWinykkuwnihiPMpkIJZs,633
|
3
|
-
kenenet-0.6.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
-
kenenet-0.6.0.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
-
kenenet-0.6.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|