Auto-completion: why not module name?

Jonas Wielicki jonas at wielicki.name
Mon Mar 16 12:54:29 EDT 2015


On 16.03.2015 17:40, Chris Angelico wrote:
> This is a very plausible feature request, but be aware that it will
> involve a very costly disk search. Figuring out what modules could be
> imported means going through the entire Python module search path,
> enumerating .py (and other) files, and that could be a lot slower than
> you think.

With possible side-effects, like help("modules") has. I don’t think that
this is a trivial task (and if it is, why is help("modules") not
implemented in that trivial way?)

regards,
jwi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20150316/0ceaca95/attachment.sig>


More information about the Python-list mailing list