##// END OF EJS Templates
- Automatically prepend 'if 1:' to user input that starts with whitespace,...
- Automatically prepend 'if 1:' to user input that starts with whitespace, for interactive convenience. After a patch by Bo Peng. - Revert some of the sys.path recent changes which were causing problems, and implement a more robust version inside safe_execfile().

File last commit:

r183:10a727b4
r420:a9e64d26
Show More
test_autocall.ipy
24 lines | 196 B | text/plain | TextLexer
def f1(a,b,c):
return a+b+c
def f2(a):
return a + a
;f2 a b c
assert _ == "a b ca b c"
,f1 a b c
assert _ == 'abc'
print _
/f1 1,2,3
assert _ == 6
/f2 4
assert _ == 8
del f1
del f2