diff --git a/IPython/FlexCompleter.py b/IPython/FlexCompleter.py index e8216ca..75aa2d5 100644 --- a/IPython/FlexCompleter.py +++ b/IPython/FlexCompleter.py @@ -187,12 +187,10 @@ class Completer: if not m: return [] expr, attr = m.group(1, 3) - print 'expr:',expr # dbg try: object = eval(expr, self.namespace) except: object = eval(expr, self.global_namespace) - print 'obj:',object # dbg words = [w for w in dir(object) if isinstance(w, basestring)] if hasattr(object,'__class__'): words.append('__class__') diff --git a/IPython/iplib.py b/IPython/iplib.py index cd00f2d..a1a23f2 100644 --- a/IPython/iplib.py +++ b/IPython/iplib.py @@ -6,7 +6,7 @@ Requires Python 2.1 or newer. This file contains all the classes and helper functions specific to IPython. -$Id: iplib.py 952 2005-12-26 17:51:33Z fperez $ +$Id: iplib.py 953 2005-12-26 18:09:16Z fperez $ """ #***************************************************************************** @@ -1934,7 +1934,7 @@ want to merge them back into the new files.""" % locals() cmd = '%sipmagic("%s")' % (pre,esc_quotes('%s %s' % (iFun,theRest))) self.log(cmd,continue_prompt) self.update_cache(line) - print 'in handle_magic, cmd=<%s>' % cmd # dbg + #print 'in handle_magic, cmd=<%s>' % cmd # dbg return cmd def handle_auto(self, line, continue_prompt=None,