Message111117
Actually CPython 2.6 emits precisely what I'd expect:
D:\rft\vsl\dlr\Languages\IronPython\Tests>26
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 information.
>>> def f(a, b=2): pass
...
>>> f(b=2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: f() takes at least 1 non-keyword argument (0 given) |
|
Date |
User |
Action |
Args |
2010-07-21 20:46:11 | midnightdf | set | recipients:
+ midnightdf |
2010-07-21 20:46:11 | midnightdf | set | messageid: <1279745171.35.0.366863908327.issue9326@psf.upfronthosting.co.za> |
2010-07-21 20:46:10 | midnightdf | link | issue9326 messages |
2010-07-21 20:46:10 | midnightdf | create | |
|