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 malin
Recipients malin
Date 2019-01-09.09:26:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547025999.59.0.0318422017652.issue35696@roundup.psfhosted.org>
In-reply-to
Content
static int
long_compare(PyLongObject *a, PyLongObject *b)
{
    ....
}

This function in /Objects/longobject.c is used to compare two PyLongObject's value.
We only need the sign, converting to -1 or +1 is not necessary.
History
Date User Action Args
2019-01-09 09:26:43malinsetrecipients: + malin
2019-01-09 09:26:39malinsetmessageid: <1547025999.59.0.0318422017652.issue35696@roundup.psfhosted.org>
2019-01-09 09:26:39malinlinkissue35696 messages
2019-01-09 09:26:39malincreate