You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue with using dbg[] in the REPL is that __file__ is not defined. There's a filename computation in the stdlib's warnings.py that addresses exactly this.
Maybe we could adapt the solution for our purposes?
Performance implications, may need to run the code at each call site of dbg? Is the REPL support for syntax.dbg worth it?
The text was updated successfully, but these errors were encountered:
Just to mark a future TODO.
The issue with using
dbg[]
in the REPL is that__file__
is not defined. There's a filename computation in the stdlib'swarnings.py
that addresses exactly this.syntax.dbg
worth it?The text was updated successfully, but these errors were encountered: