[Pkg-zsh-devel] Bug#691638: zsh: completion for python -m should be implemented without import all modules
Sebastian Ramacher
sebastian at ramacher.at
Sun Oct 28 16:55:04 UTC 2012
Controlg: tags -1 + patch
Here is a preliminary patch that uses code based on bpython's
importcompletion to enumerate all modules. It also adds caching for the
list of modules and handles submodules better. The caching policy should be
improved, but I couldn't think of a clever way to determine whether it
should be updated or not.
Regards
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 691638.patch
Type: text/x-diff
Size: 5520 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20121028/ee15c15a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20121028/ee15c15a/attachment.pgp>
More information about the Pkg-zsh-devel
mailing list