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 serhiy.storchaka
Recipients georg.brandl, larry, serhiy.storchaka
Date 2014-01-14.17:31:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Proposed patch adds support for non-bitwise unsigned integer arguments in Argument Clinic. I.e. now unsigned_int(bitwise=False) (or just unsigned_int) converts Python int in range from 0 to UINT_MAX to C unsigned int. Added support for unsigned_short, unsigned_int, unsigned_long, unsigned_PY_LONG_LONG, and size_t.

Also added global private functions _Py_UnsignedShort_Converter(), _Py_UnsignedInt_Converter(), _Py_UnsignedLong_Converter(), _Py_UnsignedLongLong_Converter(), and _Py_Size_t_Converter(), which are used by Argument Clinic and in C code still not converted to Argument Clinic.
Date User Action Args
2014-01-14 17:31:58serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, larry
2014-01-14 17:31:58serhiy.storchakasetmessageid: <>
2014-01-14 17:31:58serhiy.storchakalinkissue20260 messages
2014-01-14 17:31:58serhiy.storchakacreate