<div dir="ltr">Because the caller who sent the bad callable is no longer in the stack trace.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 21, 2013 at 1:04 AM, Ben Finney <span dir="ltr"><<a href="mailto:ben+python@benfinney.id.au" target="_blank">ben+python@benfinney.id.au</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Neil Girdhar <<a href="mailto:mistersheik@gmail.com">mistersheik@gmail.com</a>><br>
writes:<br>
<div class="im"><br>
> I check for callable when accepting callbacks because I will call them<br>
> much later and raising the error then is harder to track down.<br>
<br>
</div>Why is it harder to track down? That sounds like the problem to be<br>
fixed.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
 \            “Simplicity is prerequisite for reliability.” —Edsger W. |<br>
  `\                                                          Dijkstra |<br>
_o__)                                                                  |<br>
Ben Finney<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
<br>
--<br>
<br>
---<br>
You received this message because you are subscribed to a topic in the Google Groups "python-ideas" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/python-ideas/OumiLGDwRWA/unsubscribe" target="_blank">https://groups.google.com/d/topic/python-ideas/OumiLGDwRWA/unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="mailto:python-ideas%2Bunsubscribe@googlegroups.com">python-ideas+unsubscribe@googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/groups/opt_out</a>.<br>
</div></div></blockquote></div><br></div>