use_exception(True) by default in lmishell
Jan Safranek
jsafrane at redhat.com
Mon Jul 1 07:20:17 UTC 2013
On 07/01/2013 09:17 AM, Jan Synacek wrote:
> Hello,
>
> currently, exceptions in shell are silently ignored when risen, unless
> 'use_exception(True)' is explicitly called. I strongly suggest we change the
> default behavior to use the exceptions by default and, if needed, turn them off
> by 'use_exception(False)'. This will save a lot of gray hair in the future...
+1, exceptions are native Python way of handling errors, we should not
suppress them.
Jan
More information about the openlmi-devel
mailing list