Wouldn’t it have to raise TypeError instead? This code has the same issue, but doesn’t crash Pythonista:
def s(a, b, c): return [a, b, c]
s(1)
It just raises TypeError.
Plus, the settrace issue only works in the console. It doesn’t crash Pythonista if it’s in a file.