[Python-apps-team] Bug#611288: pychecker: false positive "Function (__import__) doesn't support **kwArgs"

Jakub Wilk jwilk at debian.org
Thu Jan 27 18:07:45 UTC 2011


Package: pychecker
Version: 0.8.19-2
Severity: minor

The __import__ function has been accepting keyword arguments since 
Python 2.5. However, pychecker warns that it does not:

$ echo "__import__('sys', globals=())" > test.py && pychecker -Q test.py
test.py:1: Function (__import__) doesn't support **kwArgs


-- System Information:
Debian Release: 6.0
   APT prefers unstable
   APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pychecker depends on:
ii  python                        2.6.6-10   interactive high-level object-orie
ii  python-support                1.0.12     automated rebuilding support for P

-- 
Jakub Wilk





More information about the Python-apps-team mailing list