##// END OF EJS Templates
catch all exceptions raised by attr_matches completer for expressions with dots
vivainio -
Show More
@@ -201,7 +201,11 b' class Completer:'
201 try:
201 try:
202 object = eval(expr, self.namespace)
202 object = eval(expr, self.namespace)
203 except:
203 except:
204 object = eval(expr, self.global_namespace)
204 try:
205 object = eval(expr, self.global_namespace)
206 except:
207 return []
208
205
209
206 # Start building the attribute list via dir(), and then complete it
210 # Start building the attribute list via dir(), and then complete it
207 # with a few extra special-purpose calls.
211 # with a few extra special-purpose calls.
@@ -1,3 +1,8 b''
1 2006-11-08 Ville Vainio <vivainio@gmail.com>
2
3 * completer.py (attr_matches): catch all exceptions raised
4 by eval of expr with dots.
5
1 2006-11-07 Fernando Perez <Fernando.Perez@colorado.edu>
6 2006-11-07 Fernando Perez <Fernando.Perez@colorado.edu>
2
7
3 * IPython/iplib.py (runsource): Prepend an 'if 1:' to the user
8 * IPython/iplib.py (runsource): Prepend an 'if 1:' to the user
General Comments 0
You need to be logged in to leave comments. Login now