[issue9326] Error message for incorrect number of (function) args is incorrect

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In Python 3: TypeError: f() missing 1 required positional argument: 'a' -- nosy: +serhiy.storchaka resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue9326] Error message for incorrect number of (function) args is incorrect

2011-05-30 Thread Armin Rigo
Armin Rigo ar...@users.sourceforge.net added the comment: FWIW, this case is tested in PyPy: http://paste.pocoo.org/show/397732/ -- nosy: +arigo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9326

[issue9326] Error message for incorrect number of (function) args is incorrect

2011-05-30 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I think some one should just rewrite this code from scratch. Every time I fix something, it breaks something else. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9326

[issue9326] Error message for incorrect number of (function) args is incorrect

2010-07-21 Thread Dave Fugate
New submission from Dave Fugate dfug...@microsoft.com: The error message below should state something along the lines of f() takes at least 1 non-keyword argument (0 given). Regardless, this is a regression from 2.6 which would have emitted f() takes at least 1 argument (0 given) which while

[issue9326] Error message for incorrect number of (function) args is incorrect

2010-07-21 Thread Dave Fugate
Dave Fugate dfug...@microsoft.com added the comment: Actually CPython 2.6 emits precisely what I'd expect: D:\rft\vsl\dlr\Languages\IronPython\Tests26 Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 Type help, copyright, credits or license for more

[issue9326] Error message for incorrect number of (function) args is incorrect

2010-07-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Benjamin was the last one who worked on this code (in issue 6474), adding him to nosy. -- nosy: +benjamin.peterson, r.david.murray stage: - unit test needed ___ Python tracker