Techcable / dotfiles

My .zshrc and .xonshrc files
1 stars 0 forks source link

Report strange traceback bug to `xontrib-readable-traceback` #1

Open Techcable opened 2 years ago

Techcable commented 2 years ago

See original bug report here: xonsh/xonsh#4665

The minimal .xonshrc to reproduce this is here: https://gist.github.com/Techcable/228202949e79c0b373cf0a56b7a16848

TLDR; Using doc(dis) unexpectedly crashes when neither doc nor dis are defined

This is not a xonsh issue it is a readable-traceback bug.

Because I use an unstable development version of xonsh (and I cannot reproduce on 0.11.0), that means I can't really report this bug to the proper authorities (xontrib-readable-traceback), because there is a good chance further xonsh changes will break things again.

Instead, I have to wait for a stable release.

bestlem commented 1 year ago

Im am getting this on xonsh 0.12.0 well with my full startup files.

Do you still get this? I would debug but xonsh amalgam makes it difficult.

The xontrib code prin_exception does not seem to accept keyword argumnets, but my python is a bit rusty