[docs] [issue29004] binascii.crc_hqx() implements CRC-CCITT

Martin Panter report at bugs.python.org
Sun Dec 18 05:52:31 EST 2016

New submission from Martin Panter:

If I had known this it would have saved me getting a separate implementation working.

>>> hex(binascii.crc_hqx(b"\x01", 0))

Documenting this might helped many other people. Top Google hits seem oblivious to crc_hqx(), using other CRC implementations, and even other helper functions from the binascii module:


assignee: docs at python
components: Documentation
files: crc-ccitt.patch
keywords: patch
messages: 283548
nosy: docs at python, martin.panter
priority: normal
severity: normal
stage: patch review
status: open
title: binascii.crc_hqx() implements CRC-CCITT
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45952/crc-ccitt.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list