kenenet 0.7.5__py3-none-any.whl → 0.7.8__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 CHANGED
@@ -98,22 +98,18 @@ class _VariableTracker:
98
98
  self.global_vars.clear()
99
99
  self.active = False
100
100
  frame = inspect.currentframe().f_back.f_back
101
- lineno = frame.f_lineno.fba
101
+ lineno = frame.f_lineno
102
102
  quick_print(f"Stopped debugging", lineno)
103
103
 
104
104
  def _track_frame(frame, event, arg):
105
105
  tracker = _VariableTracker._get_instance()
106
106
  if not tracker.active or event != 'line': return _track_frame
107
-
108
107
  # Skip tracking if function name is 'quick_print'
109
108
  if frame.f_code.co_name == 'quick_print':
110
109
  return _track_frame
111
-
112
110
  scope = "Global" if frame.f_code.co_name == '<module>' else f"Local in '{frame.f_code.co_name}'"
113
111
  current_vars = {name: value for name, value in (frame.f_locals if scope != "Global" else frame.f_globals).items() if tracker._should_track(name)}
114
-
115
112
  line_number = frame.f_lineno # Capture the line number where the change occurred
116
-
117
113
  if scope == "Global":
118
114
  for name, value in current_vars.items():
119
115
  if name not in tracker.global_vars:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kenenet
3
- Version: 0.7.5
3
+ Version: 0.7.8
4
4
  Summary: dude what the fuck even is this package
5
5
  Home-page: https://www.youtube.com/@KiddyKene
6
6
  Author: kiddykene
@@ -0,0 +1,5 @@
1
+ kenenet/__init__.py,sha256=-DshHA4EvVdFIH6XO2MqJh9_t91VODN46JNILwes9Qk,8564
2
+ kenenet-0.7.8.dist-info/METADATA,sha256=Xlo3c1pscdVaRFqlAwGAj_nvNRj5xr5FAW7iqsnz93Q,633
3
+ kenenet-0.7.8.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4
+ kenenet-0.7.8.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
+ kenenet-0.7.8.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- kenenet/__init__.py,sha256=xKXOswAPAt8ak2m2mMBoLY7LHXmv9lKM9JaAH3ysGgE,8576
2
- kenenet-0.7.5.dist-info/METADATA,sha256=26ezrOq1UHrUMLTS1wiSI0Ws-mhLaaKSFzMcuN2sh00,633
3
- kenenet-0.7.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4
- kenenet-0.7.5.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
- kenenet-0.7.5.dist-info/RECORD,,