Description of problem: bpython stops interpreting code interactively when entering an indentend block of code and doesn't exit from it. AFAICT this happens only on i586 systems, while bpython works smoothly on x86_64 systems. Version-Release number of selected component (if applicable): bpython-0.7.1-3.fc11.noarch python-2.6-7.fc11.i586 How reproducible: Always Steps to Reproduce: 1. $ bpython 2. Run the following code: for i in range(2): print i Actual results: >>> for i in range(2): ... print i ... ... ... Expected results: >>> for i in range(2): ... print i ... 0 1 >>> Additional info: Neither pressing Control-d nor Control-c help exiting the indented block
Try to use DEL key, that works here. >>> for i in range(2): ... print i ... <- Press DEL here, and then ENTER. 0 1
Yes, deleting the indented space and pressing ENTER solves the problem, but is it supposed to work this way?
Unsure, I have sent a mail upstream.
According to author, this is expected behaviour from bpython. I agree.