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 eric.smith, vstinner, ztane
Date 2019-06-06.12:22:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559823753.97.0.972245837914.issue37170@roundup.psfhosted.org>
In-reply-to
Content
> Victor, as a friendly reminder, (unsigned long)-1 is not necessarily the same number as (unsigned long long)-1. The documentation means the latter.

Aaaah, I didn't notice that the function returns unsigned *long long*, sorry :-)

Which platform is impacted? Windows 64-bit? Does it mean that we have zero unit test on this function? Or does it mean that (unsigned long)-1 is compiled correctly as (unsigned long long)-1 on Windows 64-bit? Is "long long" 8 bytes long and "long" 4 bytes long on Windows 64-bit?
History
Date User Action Args
2019-06-06 12:22:33vstinnersetrecipients: + vstinner, eric.smith, ztane
2019-06-06 12:22:33vstinnersetmessageid: <1559823753.97.0.972245837914.issue37170@roundup.psfhosted.org>
2019-06-06 12:22:33vstinnerlinkissue37170 messages
2019-06-06 12:22:33vstinnercreate