I tried something with try/except as suggested by pang but fork makes
me getting out without evaluating the "except " statement....
Have you an idea why it does not work?


On 16 juil, 20:40, pang <pablo.ang...@uam.es> wrote:
> A related question: is it possible to catch an exception if there is a
> time out?
>
> Or maybe there is another way to write code like this:
>
> @fork
> def g(...)
>
> try:
>     a = g(10^7)
> except TimeOut:
>     a = something_else
> ...

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to