diff options
author | alexv-smirnov <[email protected]> | 2023-03-28 22:25:04 +0300 |
---|---|---|
committer | alexv-smirnov <[email protected]> | 2023-03-28 22:25:04 +0300 |
commit | b8a17f9b1c166d2e9a26b99348a4c29d972caf55 (patch) | |
tree | 1a2d881f1a9452b9c6103dbf69d73da7624e98e5 /contrib/tools/cython/Cython/Debugging.py | |
parent | 25659221f18577ea38430a8ec3349836f5626b6a (diff) |
Revert ymake build from ydb oss export
Diffstat (limited to 'contrib/tools/cython/Cython/Debugging.py')
-rw-r--r-- | contrib/tools/cython/Cython/Debugging.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/tools/cython/Cython/Debugging.py b/contrib/tools/cython/Cython/Debugging.py deleted file mode 100644 index edb3f4e8ca5..00000000000 --- a/contrib/tools/cython/Cython/Debugging.py +++ /dev/null @@ -1,20 +0,0 @@ -############################################### -# -# Odds and ends for debugging -# -############################################### - -def print_call_chain(*args): - import sys - print(" ".join(map(str, args))) - f = sys._getframe(1) - while f: - name = f.f_code.co_name - s = f.f_locals.get('self', None) - if s: - c = getattr(s, "__class__", None) - if c: - name = "%s.%s" % (c.__name__, name) - print("Called from: %s %s" % (name, f.f_lineno)) - f = f.f_back - print("-" * 70) |