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 <1389720718.78.0.860738296491.issue20260@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-01-14 17:31:58serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, larry
2014-01-14 17:31:58serhiy.storchakasetmessageid: <1389720718.78.0.860738296491.issue20260@psf.upfronthosting.co.za>
2014-01-14 17:31:58serhiy.storchakalinkissue20260 messages
2014-01-14 17:31:58serhiy.storchakacreate