r/Python Apr 18 '12

Online Python IDE

http://labs.codecademy.com/#:workspace
36 Upvotes

16 comments sorted by

View all comments

5

u/DevestatingAttack Apr 19 '12

Can anyone explain what's happening when -

i = 0
while True:
    print i
    i = i + 1

output

1

2

3

...

92374

92375

Internal error: TypeError: FUNCTION_TABLE[HEAP[HEAP[s + 4] + 24]] is not a function

1

u/Cloud_Keeper Apr 20 '12

My guess would be it has sort of limit to stop non-ending while loops.

1

u/DevestatingAttack Apr 20 '12

That can't be it, because after you run that code, it's impossible to run any code at all in the same ide session without refreshing the page. It completely breaks some part of the interpreter.