[Pkg-zsh-devel] Bug#691638: Bug#691638: zsh: completion for python -m should be implemented without import all modules
Axel Beckert
abe at debian.org
Sat Jun 28 12:47:22 UTC 2014
Control: tag -1 + upstream
Hi Sebastian,
thanks for the report and the patches.
Sebastian Ramacher wrote:
> On 2012-10-28 17:55:04, Sebastian Ramacher wrote:
> > 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.
>
> Attached is an updated patch. It improves the module detection a bit,
> i.e modules which aren't run-able with python -m are not listed anymore.
I think such a patch is best suited to be applied upstream.
Unfortunately the patch no more applies against the current upstream
HEAD.
Can you send an updated patch which applies against the current
upstream HEAD (as available via git at
git://git.code.sf.net/p/zsh/code) and send it directly to upstream at
zsh-workers at zsh.org (and Cc this bug report)?
Thanks in advance!
P.S.: I suspect that adding python3.4 would be a good idea, too, if
you update the patch anyways.
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
More information about the Pkg-zsh-devel
mailing list