Andy Kipp
Andy Kipp
From https://results.pre-commit.ci/run/github/471969357/1720041589.abHns_7JRguzMEFrN9AjWQ: ```xsh tests/test_xonfig.py:36:89: E501 Line too long (94 > 88) tests/test_xonfig.py:41:9: SIM102 Use a single `if` statement instead of nested `if` statements tests/test_xonfig.py:67:9: RUF100 [*] Unused blanket `noqa` directive...
```xsh echo $123 # Unexpected token: TokenInfo(type=55 (OP), string='$123', start=(1, 7), end=(1, 11), line='![echo $123]\n') showcmd echo $123 # ['echo', "Unexpected token: TokenInfo(type=55 (OP), string='$123', start=(1, 15), end=(1, 19), line=' of stdout and stderr descriptors and this produces the [exceptions](https://github.com/xonsh/xonsh/issues/5631#issue-2429860610) in core code or...
### Motivation Windows has slow IO operation on is_file check. So this PR is to reduce running is_file two times. ## For community ⬇️ **Please click the 👍 reaction instead...
### How it looks for a user The exceptions below are not the root of the issue. It's just consequences of closing the descriptor somewhere in upstream or in parallel...
Two ways for reproduce: ```xsh $XONSH_SHOW_TRACEBACK = True @aliases.register def _e(): echo -n O echo -n E 1>2 execx("echo -n O") execx("echo -n E 1>2") print("o") print("O", file=o) print("E", file=e)...
Working on https://github.com/xonsh/xonsh/issues/5631 ## For community ⬇️ **Please click the 👍 reaction instead of leaving a `+1` or 👍 comment**
```xsh $XONSH_SHOW_TRACEBACK = True @aliases.register def _e(): echo -n O echo -n E 1>2 $[e 1>2] ``` Exception: ```xsh Traceback (most recent call last): File "", line 1, in File...
This is working as expected: ```xsh $XONSH_SHOW_TRACEBACK = True @aliases.register def _e(a,i,o,e): print('O', file=o) print('E', file=e) !(e 1>2) # redirect stdout to stderr # output='', # errors='O\nE\n' ``` But: ```xsh...
Hi! xonsh is a giant snail in small conch! I found that xonsh compiles scripts and save it to the `~/.local/share/xonsh/xonsh_script_cache` directory. But xonsh does not compile `.xsh` xontribs unlike...