##// END OF EJS Templates
Qt console: Fix _prompt_pos accounting on timer flush output....
Qt console: Fix _prompt_pos accounting on timer flush output. When output is appended to the frontend widget by the output flushing timer, the _prompt_pos was not being modified accordingly. This could cause incorrect prompt position resulting in apparent freezing of the prompt in some circumstances.

File last commit:

r9190:20a102a5
r14053:f59b2d89
Show More
embed_division.py
5 lines | 266 B | text/x-python | PythonLexer
"""This tests that future compiler flags are passed to the embedded IPython."""
from __future__ import division
from IPython import embed
embed(banner1='', header='check 1/2 == 0.5 in Python 2')
embed(banner1='', header='check 1/2 = 0 in Python 2', compile_flags=0)