The rust version exits directly with status 130. I believe the python version should aim to have the same behaviour. One of the reasons why the user might stop the program this way is: they use the ...
During an interactive session where I am variously running computations and plotting things, when I try to keyboard interrupt a running computation, Python apparently ...