On 06/21/2013 07:41 PM, Chris Angelico wrote: >> While we're at it, I would like to petition for a function >> terminates(f, args) that I can use to determine whether a function >> will terminate before I actually call it. > > Nice idea from a theoretical point of view, but practicality beats > purity, and most people know their functions will terminate (that's > what Ctrl-C is for). No, I want a function isbuggy(f) to find out > whether a function is, well, buggy. We could abolish all unit-testing > if we had that.
That's awesome. I laughed out loud when I read Ian's comment, though it took me longer than I should have needed to notice your tongue firmly in your cheek as well. -- http://mail.python.org/mailman/listinfo/python-list