[issue14607] method with special keyword-only argument gives error

2012-04-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 22844ddce57b by Benjamin Peterson in branch 'default': merge 3.2 (#14607) http://hg.python.org/cpython/rev/22844ddce57b -- ___ Python tracker

[issue14607] method with special keyword-only argument gives error

2012-04-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset f8540b8d076c by Benjamin Peterson in branch '3.2': mangle keyword-only argname when loading defaults (closes #14607) http://hg.python.org/cpython/rev/f8540b8d076c -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected stat

[issue14607] method with special keyword-only argument gives error

2012-04-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +benjamin.peterson, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue14607] method with special keyword-only argument gives error

2012-04-17 Thread Florent Xicluna
New submission from Florent Xicluna : This is probably a bug. >>> class A: ... def f(self, __a=42): ... pass ... >>> A().f() >>> class A: ... def f(self, *, __a=42): ... pass ... >>> A().f() Traceback (most recent call last): File "", line 1, in TypeError: f() needs keyword-onl