[Pkg-zsh-devel] Bug#691638: zsh: completion for python -m should be implemented without import all modules

Sebastian Ramacher sebastian at ramacher.at
Sat Oct 27 20:52:59 UTC 2012


Package: zsh
Version: 5.0.0-2
Severity: normal

The completion for "python -m" is pretty useless. According to the code
it tries to import every module. In view #691634 that just doesn't work
and furthermore warnings (e.g. from twisted.words.im) are displayed so
the screen gets messed up.

Additionally, the completion doesn't support submodules. For example,
"python -m bpython.c" doesn't complete to "python -m bpython.cli".

Regards

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (650, 'unstable'), (601, 'testing'), (600, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6      2.13-36
ii  libcap2    1:2.22-1.2
ii  libtinfo5  5.9-10

Versions of packages zsh recommends:
ii  libc6         2.13-36
ii  libncursesw5  5.9-10
ii  libpcre3      1:8.31-1

Versions of packages zsh suggests:
ii  zsh-doc  4.3.17-1

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/zsh/functions/Completion/Debian/_apt (from zsh package)

-- 
Sebastian Ramacher
-------------- 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/20121027/44f89e53/attachment.pgp>


More information about the Pkg-zsh-devel mailing list