A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1107/ below:

Tab autocompletion can suggest invalid syntax · Issue #1107 · ipython/ipython · GitHub

If you have Django installed, import dj<TAB> gives you this:

In [1]: import dj
django django-admin
In [1]: import django 

The "django-admin" option is, of course, invalid syntax. That said, it's hard to know what the correct behaviour would be -- it looks like IPython is (perfectly reasonably) suggesting every module that's on sys.path. Perhaps a filter to make sure that only valid module names were suggested in this case?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4