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 asvetlov, vstinner, yselivanov
Date 2018-01-29.12:31:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517229066.54.0.467229070634.issue32707@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2018-01-29 12:31:06vstinnersetrecipients: + vstinner, asvetlov, yselivanov
2018-01-29 12:31:06vstinnersetmessageid: <1517229066.54.0.467229070634.issue32707@psf.upfronthosting.co.za>
2018-01-29 12:31:06vstinnerlinkissue32707 messages
2018-01-29 12:31:06vstinnercreate