Why is the Python interpreter provided by Django suddenly showing me Python tab completion upon a single Tab press?

Posted by ysim on Super User See other posts from Super User or by ysim
Published on 2013-10-25T14:55:38Z Indexed on 2013/10/25 15:57 UTC
Read the original article Hit count: 217

Filed under:
|
|
|

This issue seems to have just started happening; basically I just noticed that whenever I press the Tab key in the Python interpreter that comes with Django, it gives me the Display all ... possibilities? (y or no) prompt.

I opened a similar question just now, where I noticed that removing set show-all-if-ambiguous on from .inputrc fixed the problem in the non-Django Python interpreter that was showing me bash tab completion, but the problem persists with the Django one, only with Python tab completion. It's very odd and it seems to have come out of nowhere.

There's nothing else in my .inputrc other than set completion-ignore-case on, which shouldn't be conflicting with the Python interpreter, but I've also tried removing that (leaving my .inputrc blank), but it's still happening.

I'm not sure why this is suddenly happening, but it would be great if someone had an idea of why and how to fix it.

© Super User or respective owner

Related posts about bash

Related posts about python