Nack. This will prevent any kind of error reporting and silently make the program fail (with even a 0 return code). So instead of pointing out what fails, this will make tracking down errors a nuisance.
Instead, this should just fix the actual crash (looks like the process was called without stdout, thus print fails?)
- main()
+ try:
+ main()
+ except:
+ pass
Nack. This will prevent any kind of error reporting and silently make the program fail (with even a 0 return code). So instead of pointing out what fails, this will make tracking down errors a nuisance.
Instead, this should just fix the actual crash (looks like the process was called without stdout, thus print fails?)