Lemme golf that
~ $ python
Python 3.12.10 (main, Apr 9 2025, 18:13:11) [Clang 18.0.3 (https://android.googlesource.com/toolchain/llvm-project d8003a456 on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> class x:
... def __repr__(s):
... exit(0)
...
>>> xit = x()
>>> xit
~ $
Not that hard
Good points. You’re right, it does need solved at the shell level. Glad they did so.