This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author midnightdf
Recipients midnightdf
Date 2010-07-21.20:46:09
SpamBayes Score 4.9005244e-13
Marked as misclassified No
Message-id <1279745171.35.0.366863908327.issue9326@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2010-07-21 20:46:11midnightdfsetrecipients: + midnightdf
2010-07-21 20:46:11midnightdfsetmessageid: <1279745171.35.0.366863908327.issue9326@psf.upfronthosting.co.za>
2010-07-21 20:46:10midnightdflinkissue9326 messages
2010-07-21 20:46:10midnightdfcreate