Op Wednesday 29 Apr 2015 10:58 CEST schreef Mark Lawrence:

>> It is not only performance wise, I find the code without the try
>> also better looking. But that is very personally I suppose.
>>
>
> You might find this interesting
> http://www.jeffknupp.com/blog/2013/02/06/write-cleaner-python-use-exceptions/

I certainly agree in the print_object case. Well maybe I have to get
used to python again. ;-)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to