[issue12356] more argument error improving

2011-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52744a5a9260 by Benjamin Peterson in branch 'default': give the names of missing positional or keyword-only arguments (closes #12356) http://hg.python.org/cpython/rev/52744a5a9260 -- nosy: +python-dev resolution: -> fixed stage: patch revi

[issue12356] more argument error improving

2011-06-23 Thread Nick Coghlan
Nick Coghlan added the comment: Revised error messages and tests look reasonable and the code seems fine on a visual scan. +1 from me. -- ___ Python tracker ___ __

[issue12356] more argument error improving

2011-06-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Nick (or anyone else), do you want to look at this? -- ___ Python tracker ___ ___ Python-bugs-li

[issue12356] more argument error improving

2011-06-20 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12356] more argument error improving

2011-06-17 Thread Benjamin Peterson
New submission from Benjamin Peterson : After completing #12265, it was pointed out to me that the error message is still not perfect: >>> def f(a, b, c=3, d=4, e=6, f=3, g=32): pass ... >>> f(1, f=4, d=90) Traceback (most recent call last): File "", line 1, in TypeError: f() takes from 2 t