[Python-ideas] Introduce collections.Reiterable

Neil Girdhar mistersheik at gmail.com
Sat Sep 21 07:08:28 CEST 2013


Because the caller who sent the bad callable is no longer in the stack
trace.


On Sat, Sep 21, 2013 at 1:04 AM, Ben Finney <ben+python at benfinney.id.au>wrote:

> Neil Girdhar <mistersheik at gmail.com>
> writes:
>
> > I check for callable when accepting callbacks because I will call them
> > much later and raising the error then is harder to track down.
>
> Why is it harder to track down? That sounds like the problem to be
> fixed.
>
> --
>  \            “Simplicity is prerequisite for reliability.” —Edsger W. |
>   `\                                                          Dijkstra |
> _o__)                                                                  |
> Ben Finney
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "python-ideas" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/python-ideas/OumiLGDwRWA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> python-ideas+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130921/70879af0/attachment-0001.html>


More information about the Python-ideas mailing list