##// END OF EJS Templates
Ensure that __builtin__ is always available and compute prompts from it....
Ensure that __builtin__ is always available and compute prompts from it. __builtins__ (note the s) can change from module to dict somewhat at random, see this for details: http://mail.python.org/pipermail/python-dev/2001-April/014068.html If this happened, our prompt computations could go out of whack in bizarre ways, I saw it happen for continuation prompts after loading pylab, for example. This change fixes it.
Fernando Perez -
r2485:fa15b196
Show More
Name Size Modified Last Commit Author
/ IPython / core
tests
__init__.py Loading ...
alias.py Loading ...
application.py Loading ...
autocall.py Loading ...
builtin_trap.py Loading ...
completer.py Loading ...
component.py Loading ...
crashhandler.py Loading ...
debugger.py Loading ...
display_trap.py Loading ...
embed.py Loading ...
error.py Loading ...
excolors.py Loading ...
fakemodule.py Loading ...
history.py Loading ...
hooks.py Loading ...
ipapi.py Loading ...
ipapp.py Loading ...
iplib.py Loading ...
logger.py Loading ...
macro.py Loading ...
magic.py Loading ...
oinspect.py Loading ...
outputtrap.py Loading ...
page.py Loading ...
prefilter.py Loading ...
prompts.py Loading ...
pylabtools.py Loading ...
quitter.py Loading ...
release.py Loading ...
shadowns.py Loading ...
splitinput.py Loading ...
ultratb.py Loading ...
usage.py Loading ...