Python #ifdef

Fábio Santos fabiosantosart at gmail.com
Tue May 28 16:34:36 EDT 2013


On 28 May 2013 21:26, "Carlos Nepomuceno" <carlosnepomuceno at outlook.com>
wrote:
> Haha! That's it!!!
>
> Just realized how funny this can be: ;)
>
> ### never to be opened ###
> def pandoras_box(v):
>     return v/0.0
>
> if customer_didnt_pay():
>     pandoras_box()
>
> #lol

1/0 is, after print, my most common debug statement.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130528/6c3f8848/attachment.html>


More information about the Python-list mailing list