closes bpo-37446: resolve undefined behavior in Python/hamt.c (GH-17727)

(cherry picked from commit d0c92e81aa2171228a23cb2bed36f7dab975257d)

Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
1 file changed