From: Mark Wooding Date: Thu, 11 May 2017 09:42:15 +0000 (+0100) Subject: bytestring.c, catacomb/__init__.py: Introduce and use `zero' method. X-Git-Tag: 1.2.0~15 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/commitdiff_plain/5a8b43b3b20b540f20877f14ecb9cb0dae8ddaf3?hp=5a8b43b3b20b540f20877f14ecb9cb0dae8ddaf3 bytestring.c, catacomb/__init__.py: Introduce and use `zero' method. Seems like strings of zero bytes are especially useful. Add a class method to `ByteString' to generate them efficiently, and use it to make the magic `Z128' constant. ---