[IPython-dev] Broken ~/<tab> completion in newkernel

Fernando Perez fperez.net@gmail....
Thu Sep 2 22:24:38 CDT 2010


Hey Evan,

I think this is a recent regression:

In [3]: run ~/tes<TAB HERE>

becomes

In [3]: run ~/ome/fperez/test/


The completion message is correctly giving the info, so something is
mis-computing how to rewrite the input line:

{'content': {'matches': [u'/home/fperez/test/'], 'status': 'ok',
'matched_text': u'~/tes'},
 'header': {'username': u'kernel', 'msg_id': 16, 'session':
'ffeb049d-575a-4f50-8933-032977908e7f'},
 'msg_type': 'complete_reply',
 'parent_header': {u'username': u'fperez', u'msg_id': 11, u'session':
u'b45c7701-0c0b-43da-b605-cfd2d4781b5c'}}

Since I know you just did some work on the completion code, you may
have inadvertedly offset a cursor position somewhere.

Cheers,

f


More information about the IPython-dev mailing list