<br><br><div class="gmail_quote">On Thu, Jul 11, 2013 at 1:49 AM, Monty Taylor <span dir="ltr"><<a href="mailto:mordred@inaugust.com" target="_blank">mordred@inaugust.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'd like top-post and hijack this thread for another exception related<br>
thing:<br>
<br>
a) Anyone writing code such as:<br>
<br>
try:<br>
  blah()<br>
except SomeException:<br>
  raise SomeOtherExceptionLeavingOutStackContextFromSomeException<br>
<br>
should be mocked ruthlessly.<br></blockquote><div><br></div><div>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?</div>
<div><br></div><div>Regards,</div><div><br></div><div>-- </div><div>Thomas</div><div> </div></div>