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 chris.jerdonek
Recipients chris.jerdonek, ezio.melotti, mark.dickinson, serhiy.storchaka
Date 2012-11-23.19:20:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Here we're using 'positional' to refer to parameters that PEP 362 calls "POSITIONAL_ONLY", whereas the regular TypeErrors (e.g. produced for user-defined functions) use 'positional' to mean what PEP 362 calls "POSITIONAL_OR_KEYWORD".

Here the error message is about "positional arguments," which are different from parameters.   (As you know, issue 15990 is to document this distinction in the glossary.)

Incidentally, it looks like the documentation for several of the functions in this part of the C API should probably be updated in this regard, for example:

The PyArg_UnpackTuple documentation says, for example:

"A simpler form of parameter retrieval which does not use a format string to specify the types of the arguments. Functions which use this method to retrieve their parameters..."

The two occurrences of "parameter" here should be changed to "argument."
Date User Action Args
2012-11-23 19:20:32chris.jerdoneksetrecipients: + chris.jerdonek, mark.dickinson, ezio.melotti, serhiy.storchaka
2012-11-23 19:20:32chris.jerdoneksetmessageid: <>
2012-11-23 19:20:32chris.jerdoneklinkissue16543 messages
2012-11-23 19:20:32chris.jerdonekcreate