##// END OF EJS Templates
Further reduce the number of cases where autocall may be unnecessarily...
fperez -
Show More
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.'
6
6
7 This file contains all the classes and helper functions specific to IPython.
7 This file contains all the classes and helper functions specific to IPython.
8
8
9 $Id: iplib.py 2203 2007-04-04 05:08:36Z fperez $
9 $Id: iplib.py 2207 2007-04-05 02:07:24Z fperez $
10 """
10 """
11
11
12 #*****************************************************************************
12 #*****************************************************************************
@@ -2174,7 +2174,12 b' want to merge them back into the new files.""" % locals()'
2174 # It also allows users to assign to either alias or magic names true
2174 # It also allows users to assign to either alias or magic names true
2175 # python variables (the magic/alias systems always take second seat to
2175 # python variables (the magic/alias systems always take second seat to
2176 # true python code).
2176 # true python code).
2177 if theRest and theRest[0] in '!=()':
2177 #
2178 # We also go to direct execution if there's a binary operator in there,
2179 # so users get the regular exception. Note that '-' is NOT included,
2180 # since it is also a unary operator ('+' can also be used as unary, but
2181 # in practice it rarely is).
2182 if theRest and theRest[0] in '!=()<>+*/%^&|':
2178 return self.handle_normal(line,continue_prompt)
2183 return self.handle_normal(line,continue_prompt)
2179
2184
2180 if oinfo is None:
2185 if oinfo is None:
General Comments 0
You need to be logged in to leave comments. Login now