[issue16543] Use "positional arguments" in PyArg_UnpackTuple

Ezio Melotti report at bugs.python.org
Fri Nov 23 19:47:59 CET 2012


Ezio Melotti added the comment:

> Okay, but what exactly is this fixing? 

If the function parses positional args, it should say so in the error message.  If the function is never used (except for min/max) or if the error is never reported, then we have a different problem.

Even if this code is not used I don't think we can remove it, since this it's a public function, and even if we are not using it someone might be using it and benefit from the improved error message.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16543>
_______________________________________


More information about the Python-bugs-list mailing list