7 ms·
To me the interesting axis of safety in a program like this is IO errors (both input file and stdout), since those weren't covered by the specified failure case
by fulafel 9y ago
To me the interesting axis of safety in a program like this is IO errors (both input file and stdout), since those weren't covered by the specified failure cases and isn't covered by the likely casual testing that the developer will do. Python will throw an exception and stop the program since there is no IO exception handling, but what will the ML programs do?
edit: I was wrong wrt output & Python: Python will report the exception but return a successful exit status (as tested by "python3 -c 'print(42)' > /dev/full")