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
We notice that in the second traceback that when the named argument and the passed variable share the same name they're both treated as being variables and their values are shown.
Whereas in the first one, only the variable's value is shown.
I'm not sure this can be easily fixed. The parser implemented in Loguru to display such traceback is very limited. I probably could ignore variable assignment with surrounding parentheses, though.
It's not really catastrophic. I just wanted to report it before I forgot about it.
If it would take too much work to fix, then I think it's better to invest that time and effort into something more useful.
I noticed a confusing bug when variable values are shown in tracebacks.
This bug can reproduced using the following snippet:
We notice that in the second traceback that when the named argument and the passed variable share the same name they're both treated as being variables and their values are shown.
Whereas in the first one, only the variable's value is shown.
The text was updated successfully, but these errors were encountered: