[IPython-dev] question about generics.complete_object
Darren Dale
dsdale24 at gmail.com
Thu Feb 25 12:51:46 EST 2010
How is generics.complete_object supposed to work in the trunk? I have
a custom completer that uses it, and it used to work, but now
complete_object keeps returning TryNext:
In [12]: generics.complete_object('foo', dir('foo'))
---------------------------------------------------------------------------
TryNext Traceback (most recent call last)
/Users/darren/Projects/phynx.git/<ipython console> in <module>()
/Users/darren/Projects/ipython/IPython/external/simplegeneric.pyc in
dispatch(*args, **kw)
73 f = _gbt(t, _sentinel)
74 if f is not _sentinel:
---> 75 return f(*args, **kw)
76 else:
77 return func(*args, **kw)
/Users/darren/Projects/ipython/IPython/utils/generics.pyc in
complete_object(obj, prev_completions)
60 own_attrs + prev_completions.
61 """
---> 62 raise TryNext
63
64
TryNext:
Is this a bug, or am I expecting functionality that no longer exists?
Thanks,
Darren
More information about the IPython-dev
mailing list