We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d76ef93 commit e58bd2fCopy full SHA for e58bd2f
python/egglog/egraph_state.py
@@ -34,10 +34,11 @@ def span(frame_index: int = 0) -> bindings.RustSpan:
34
If `frame_index` is passed, it will return the span for that frame in the stack, where 0 is the current frame
35
this is called in and 1 is the parent.
36
"""
37
- import inspect
+ # Currently disable this because it's too expensive.
38
+ # import inspect
39
- frame = inspect.stack()[frame_index + 1]
40
- return bindings.RustSpan(frame.filename, frame.lineno, 0)
+ # frame = inspect.stack()[frame_index + 1]
41
+ return bindings.RustSpan("", 0, 0)
42
43
44
@dataclass
0 commit comments