Public bug reported: Running pychecker on the code below incorrectly yields an error. In fact, complex() is perfectly happy without any arguments.
$ cat foo.py def foo(): return complex() $ $ pychecker foo.py Processing module foo (foo.py)... Warnings... foo.py:3: Invalid arguments to (complex), got 0, expected between 1 and 2 $ ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: pychecker 0.8.19-1 ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7 Uname: Linux 2.6.38-10-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Fri Jul 1 23:36:29 2011 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1) PackageArchitecture: all ProcEnviron: LANGUAGE=en_GB:en PATH=(custom, user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: pychecker UpgradeStatus: Upgraded to natty on 2011-04-30 (62 days ago) ** Affects: pychecker (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/804576 Title: Wrong info on complex() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pychecker/+bug/804576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs