##// END OF EJS Templates
- Make the execution of 'from pylab import *' when -pylab is given be...
- Make the execution of 'from pylab import *' when -pylab is given be optional. A new flag, pylab_import_all controls this behavior, the default is True for backwards compatibility. - Small fixes to previously committed coloring support in tracebacks.

File last commit:

r503:b114b8cd
r554:b5bda5b0
Show More
update_revnum.py
13 lines | 331 B | text/x-python | PythonLexer
""" Change the revision number in Release.py """
import os
import re
rev = os.popen('svnversion ..').read().strip()
print "current rev is",rev
assert ':' not in rev
rfile = open('../IPython/Release.py').read()
newcont = re.sub(r'revision\s*=.*', "revision = '%s'" % rev, rfile)
open('../IPython/Release.py','w').write(newcont)