When Python console exceeds CPU time limit it doesn't return "CPU Time Limit Exceeded" error
Bug #494863 reported by
David Coles
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IVLE |
Triaged
|
Medium
|
David Coles |
Bug Description
Enter the following into the IVLE console:
>>> while True:
... pass
...
Console Restart: Communication to console process lost
There is code already in services/
>>> while True:
... pass
...
Console Restart: CPU Time Limit Exceeded
To post a comment you must log in.
Entering something like this will work:
>>> i = 0
>>> while True:
... i = i+1
... if i % 100000 == 0:
... print i
The issue here is that the termination should not have to wait for previous operation to complete. This is the same issue that prevents 'while True: pass' from being interuptable.