kenenet 1.0.1__py3-none-any.whl → 1.0.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 +1 -7
- {kenenet-1.0.1.dist-info → kenenet-1.0.2.dist-info}/METADATA +1 -1
- kenenet-1.0.2.dist-info/RECORD +5 -0
- kenenet-1.0.1.dist-info/RECORD +0 -5
- {kenenet-1.0.1.dist-info → kenenet-1.0.2.dist-info}/WHEEL +0 -0
- {kenenet-1.0.1.dist-info → kenenet-1.0.2.dist-info}/top_level.txt +0 -0
kenenet/__init__.py
CHANGED
@@ -286,18 +286,12 @@ _block_timings = defaultdict(float)
|
|
286
286
|
_current_context = None
|
287
287
|
_line_start_time = None
|
288
288
|
_stack = []
|
289
|
-
_ignore_line = {'frame = inspect.currentframe().f_back', 'filename = frame.f_code.co_filename',
|
290
|
-
'if _current_context is None:', 'sys.settrace(None)', 'Function: currentframe'}
|
289
|
+
_ignore_line = {'frame = inspect.currentframe().f_back', 'filename = frame.f_code.co_filename', 'if _current_context is None:', 'sys.settrace(None)', 'Function: currentframe', 'return sys._getframe(1) if hasattr(sys, "_getframe") else None'}
|
291
290
|
_seen_lines = set() # Track lines we've already processed
|
292
291
|
_current_function = None
|
293
292
|
_function_lines = defaultdict(set) # Track which lines belong to which function
|
294
293
|
|
295
294
|
|
296
|
-
def quick_print(message):
|
297
|
-
"""Helper function for printing with consistent formatting"""
|
298
|
-
print(message)
|
299
|
-
|
300
|
-
|
301
295
|
def time_code(label=None):
|
302
296
|
global _current_context, _timings, _line_start_time, _block_timings, _stack, _ignore_line, _seen_lines, _current_function, _function_lines
|
303
297
|
|
@@ -0,0 +1,5 @@
|
|
1
|
+
kenenet/__init__.py,sha256=d_aoiuWc_W3n6EjhjO0F6hydgHGIRgfcoyQUncwt5q8,18756
|
2
|
+
kenenet-1.0.2.dist-info/METADATA,sha256=IsbHQJCapu7AprwiYN_28jB-iAwdZfV8eNwmLkngygA,1693
|
3
|
+
kenenet-1.0.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
kenenet-1.0.2.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
+
kenenet-1.0.2.dist-info/RECORD,,
|
kenenet-1.0.1.dist-info/RECORD
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
kenenet/__init__.py,sha256=hu5QwzP7GM17Ob7SVo6R1aTMa8ENEPLtS2V6fD0k7cg,18825
|
2
|
-
kenenet-1.0.1.dist-info/METADATA,sha256=LmrZvLHm-Bw9XTZuNHItaA6jt6jx43y5NuA5xqNlzCM,1693
|
3
|
-
kenenet-1.0.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
-
kenenet-1.0.1.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
-
kenenet-1.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|