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 Banger
Recipients Banger, docs@python
Date 2014-05-14.14:33:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400078023.63.0.359608332224.issue21508@psf.upfronthosting.co.za>
In-reply-to
Content
PyArg_ParseTuple is defined as returning an "int", but the documentation talks about returning a true/false value, and failling on false.  In addition to being inaccurate, considering that most other functions fail on !=0 ("true"), it can lead to confusion.

Doc:
int PyArg_ParseTuple(PyObject *args, const char *format, ...)
Parse the parameters of a function that takes only positional parameters into local variables. Returns true on success; on failure, it returns false and raises the appropriate exception.
History
Date User Action Args
2014-05-14 14:33:43Bangersetrecipients: + Banger, docs@python
2014-05-14 14:33:43Bangersetmessageid: <1400078023.63.0.359608332224.issue21508@psf.upfronthosting.co.za>
2014-05-14 14:33:43Bangerlinkissue21508 messages
2014-05-14 14:33:43Bangercreate