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 belopolsky
Recipients belopolsky, mark.dickinson, mcherm, rhettinger, stutzbach, tim.peters, vstinner
Date 2010-06-01.03:54:39
SpamBayes Score 0.040031504
Marked as misclassified No
Message-id <>
I wonder if it would be justified to expose something like

_PyLong_IsOdd(PyObject *self)
   PyLongObject *lo = (PyLongObject *)self;
   return Py_SIZE(lo) != 0 && ((lo->ob_digit[0] & 1) != 0);

in longobject.h?
Date User Action Args
2010-06-01 03:54:41belopolskysetrecipients: + belopolsky, tim.peters, mcherm, rhettinger, mark.dickinson, vstinner, stutzbach
2010-06-01 03:54:41belopolskysetmessageid: <>
2010-06-01 03:54:39belopolskylinkissue8860 messages
2010-06-01 03:54:39belopolskycreate