New submission from STINNER Victor <victor.stin...@gmail.com>:

https://ci.appveyor.com/project/python/cpython/build/3.7build11469

..\Python\hamt.c(623): warning C4018: '<': signed/unsigned mismatch 
[C:\projects\cpython\PCbuild\pythoncore.vcxproj]
..\Python\hamt.c(937): warning C4018: '<': signed/unsigned mismatch 
[C:\projects\cpython\PCbuild\pythoncore.vcxproj]

IMHO it's a real bug, the warning must not be made quiet. HAMT doesn't support 
sizes larger than UINT32_MAX. HAMT must either fail to create if size is larger 
than UINT32_MAX, or the code should be fixed to use wider C types (larger than 
uint32_t, like uint64_t).

----------
components: Interpreter Core, asyncio
messages: 311112
nosy: asvetlov, vstinner, yselivanov
priority: normal
severity: normal
status: open
title: Python/hamt.c warnings
versions: Python 3.7

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

Reply via email to