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 vstinner
Recipients ezio.melotti, mark.dickinson, smarnach, vstinner
Date 2011-10-20.13:23:09
SpamBayes Score 0.011765438
Marked as misclassified No
Message-id <1319116989.98.0.243280546654.issue13201@psf.upfronthosting.co.za>
In-reply-to
Content
+    one = PyLong_FromLong(1);
+    if (!one)
+        return -1;
+    cmp_result = PyObject_RichCompareBool(r0->length, one, Py_EQ);
+    Py_DECREF(one);

If would be nice to have a PyLong_CompareLong() function.
History
Date User Action Args
2011-10-20 13:23:10vstinnersetrecipients: + vstinner, mark.dickinson, ezio.melotti, smarnach
2011-10-20 13:23:09vstinnersetmessageid: <1319116989.98.0.243280546654.issue13201@psf.upfronthosting.co.za>
2011-10-20 13:23:09vstinnerlinkissue13201 messages
2011-10-20 13:23:09vstinnercreate