Mark Dickinson added the comment:

Now that I look at uses of PyArg_UnpackTuple, I'm wondering whether this needs 
to be fixed at all.  Apart from `max` and `min`, do you know of any other cases 
where this gives a misleading error message?

Almost all the uses I can find are for simple functions/methods where all 
arguments are positional-only.  (Ex:  range, pow, slice, dict.pop).

max and min *do* clearly need an error message fix.

(Apologies: I know it was me who suggested that PyArg_UnpackTuple needed fixing 
in the first place.  But now I'm not sure that's true.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16543>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to