bipython icon indicating copy to clipboard operation
bipython copied to clipboard

bipython prints more lines than ipython, and many more than bpython

Open yump opened this issue 11 years ago • 1 comments

I'm seeing a lot of blank lines that don't appear in ipython or bpython, and statements that don't produce any output sometimes get echoed. Sometimes not. I can't figure out exactly what circumstances cause the echoing. Example:

bpython:

>>> import time
>>> time.sleep(1)
>>> 

ipython:

In [1]: import time

In [2]: time.sleep(1)

In [3]: 

bipython:

In [1]: import time


In [3]: time.sleep(1)


In [3]: time.sleep(1)  #white

In [3]:                #blue

In [4]:                #blue

Entering empty statements also produces the echoing:

In [6]: 1   #blue

Out[6]: 1   #red

In [7]:     #blue


In [7]:     #white

In [7]:     #blue


In [7]:     #white

In [7]:     #blue

yump avatar Jul 12 '14 14:07 yump

thanks for the report and for bringing this to my attention - confirming this as an issue. The extra blank lines come from trying to create space for the Out prompts, which don't always appear, I'll try to hone in on this.

ivanov avatar Jul 17 '14 00:07 ivanov