##// END OF EJS Templates
Make set_term_title() default to no-op, as it can cause problems....
Make set_term_title() default to no-op, as it can cause problems. In embedded contexts this can corrupt stdout (e.g. gedit ipython plugin), by default ipython should be 'safe' to use in all contexts. The user-facing terminal app can activate more aggressive configurations as needed. Added an API call to actually toggle the state, and deprecated the old one (which could only disable but not enable).

File last commit:

r1753:7cbac8c0
r1852:37edbe78
Show More
compile.py
20 lines | 417 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Call the compile script to check that all code we ship compiles correctly.
"""
import os
import sys
vstr = '.'.join(map(str,sys.version_info[:2]))
stat = os.system('python %s/lib/python%s/compileall.py .' % (sys.prefix,vstr))
print
if stat:
print '*** THERE WAS AN ERROR! ***'
print 'See messages above for the actual file that produced it.'
else:
print 'OK'
sys.exit(stat)