Default Value

Ian Kelly ian.g.kelly at gmail.com
Sat Jun 22 14:57:07 EDT 2013


On Sat, Jun 22, 2013 at 10:49 AM, Dennis Lee Bieber
<wlfraed at ix.netcom.com> wrote:
> On Fri, 21 Jun 2013 19:27:42 -0600, Ian Kelly <ian.g.kelly at gmail.com>
> declaimed the following:
>
>>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.
>
>         Maybe in a universe with different physical constants...
>
>         Otherwise I think you have encountered
> http://en.wikipedia.org/wiki/Halting_problem (consider: could your function
> conclude that it terminates when fed it's own code)

Yes, that was the joke.



More information about the Python-list mailing list