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.

classification
Title: \"k\" specifier in PyArg_ParseTuple incomplete documentated
Type: Stage:
Components: Documentation Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, georg.brandl, gustavo
Priority: normal Keywords:

Created on 2004-11-07 14:28 by gustavo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg23043 - (view) Author: Gustavo J. A. M. Carneiro (gustavo) * Date: 2004-11-07 14:28
Documentation for python 2.3 says:

"k" (integer) [unsigned long]
    Convert a Python integer to a C unsigned long
without overflow checking. New in version 2.3.

However I was told -- and tested to be true -- that "k"
also accepts python long as argument.  This should be
mentioned in the documentation, otherwise programmers
will assume "k" only accepts values in the range
0-2^31, thus not allowing the full 'unsigned long' range.
msg23044 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-07-17 20:05
Logged In: YES 
user_id=1188172

Fixed as Doc/api/utilities.tex r1.22, r1.20.2.2.
History
Date User Action Args
2022-04-11 14:56:07adminsetgithub: 41138
2004-11-07 14:28:06gustavocreate