On 07/11/2013 05:43 AM, Thomas Hervé wrote: > > > On Thu, Jul 11, 2013 at 1:49 AM, Monty Taylor <mord...@inaugust.com > <mailto:mord...@inaugust.com>> wrote: > > I'd like top-post and hijack this thread for another exception related > thing: > > a) Anyone writing code such as: > > try: > blah() > except SomeException: > raise SomeOtherExceptionLeavingOutStackContextFromSomeException > > should be mocked ruthlessly. > > > i don't think mocking is a good way to convey your point. Losing > tracebacks is not great, but having an API raising random exceptions is > probably worse. Can you develop?
I have learned that I may have mis-read your last three words due to translation problems. You were not asking if I had the ability to write code, rather you were asking if I could elaborate. I will consider that I have learned something new today! > Regards, > > -- > Thomas > > > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev