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
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
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
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
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
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