Killing a thread
Greg Ewing
greg.ewing at compaq.com
Mon Jul 19 18:29:47 EDT 1999
More information about the Python-list mailing list
Mon Jul 19 18:29:47 EDT 1999
- Previous message (by thread): Killing a thread
- Next message (by thread): Killing a thread
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
catlee at my-deja.com wrote: > > - Is it conceivable that a user could make write some resource > intensive code without using any kind of jump operations? Yes! def fib(n): return { 0: lambda: 1, 1: lambda n=n: fib(n-1) + fib(n-2) }[n>=3]() Although if you include function calls as well as jumps, you're probably safe (until Tim comes up with an even more perverted counterexample). Greg
- Previous message (by thread): Killing a thread
- Next message (by thread): Killing a thread
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list