##// 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:

r1637:3d4a1f01
r1852:37edbe78
Show More
check_sources.py
15 lines | 258 B | text/x-python | PythonLexer
from IPython.external.path import path
fs = path('..').walkfiles('*.py')
for f in fs:
errs = ''
cont = f.bytes()
if '\t' in cont:
errs+='t'
if '\r' in cont:
errs+='r'
if errs:
print "%3s" % errs, f