[Python-ideas] Comparable exceptions

Luciano Ramalho luciano at ramalho.org
Wed Feb 25 23:15:12 CET 2015


On Wed, Feb 25, 2015 at 6:21 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> Exceptions are not containers.  There purpose is not hold args.  :)

Except when it's StopIteration and you're using it to smuggle the
return value of a generator :-)

--
Luciano


>
> --
> ~Ethan~
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/



-- 
Luciano Ramalho
Twitter: @ramalhoorg

Professor em: http://python.pro.br
Twitter: @pythonprobr


More information about the Python-ideas mailing list