This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients arupchakrav, benjamin.peterson, brett.cannon, pitrou, rhettinger
Date 2014-02-04.06:06:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391493996.55.0.215370346266.issue20506@psf.upfronthosting.co.za>
In-reply-to
Content
+1 for the OP's original idea (something like a dir_modules() function that lists out all possible imports).

I think something like this must already be present in some of the Python front-ends such as ipython and bpython.  That is how they support tab-completion for imports:

In [1]: import co
code         codeop       colorsys     compileall   contextlib   copy
codecs       collections  commands     compiler     cookielib    copy_reg

In [1]: import re
re        readline  repr      requests  resource  reverend  rexec
History
Date User Action Args
2014-02-04 06:06:36rhettingersetrecipients: + rhettinger, brett.cannon, pitrou, benjamin.peterson, arupchakrav
2014-02-04 06:06:36rhettingersetmessageid: <1391493996.55.0.215370346266.issue20506@psf.upfronthosting.co.za>
2014-02-04 06:06:36rhettingerlinkissue20506 messages
2014-02-04 06:06:35rhettingercreate