crc-mask-is-python2-artifact

Status: IN

The `& 0xFFFFFFFF` mask applied after `zlib.crc32` in all modules is a Python 2 compatibility artifact; Python 3's `zlib.crc32` already returns an unsigned 32-bit integer, making the mask harmless but unnecessary.

Source: entries/2026/05/29/topic-crc32-vs-crc32c.md

JSON