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 vstinner, ztane
Date 2019-06-06.06:54:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559804088.48.0.772535483982.issue37170@roundup.psfhosted.org>
In-reply-to
Content
-1 is documented: https://docs.python.org/dev/c-api/long.html#c.PyLong_AsUnsignedLongLongMask

It's not a bug but a deliberate behavior. See also the general behavior described at:
https://docs.python.org/dev/c-api/long.html#integer-objects
History
Date User Action Args
2019-06-06 06:54:48vstinnersetrecipients: + vstinner, ztane
2019-06-06 06:54:48vstinnersetmessageid: <1559804088.48.0.772535483982.issue37170@roundup.psfhosted.org>
2019-06-06 06:54:48vstinnerlinkissue37170 messages
2019-06-06 06:54:48vstinnercreate