STINNER Victor <vstin...@redhat.com> added the comment:

> 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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37170>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to