Can someone describe why this sort of thing would be useful? I'm not criticizing, I just can't think of a use case for this.
(This is perhaps less less powerful for that use (since it would currently lack any sort of manual flow control), but I think the benefits of it actually being a REPL might offset that for some uses.)
Profiling too?
I still had a workable solution: I wrote a script that watched for any .py files that have been saved, and if so, ran the game for 15 seconds.