From dfa8fd0bcc47c7098cb53e01620677c30aeef82a Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 8 Sep 2017 10:47:43 -0700 Subject: [PATCH] bitset -> bit field --- pep-0552.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0552.txt b/pep-0552.txt index 0a01f6d02..dd5a96b4e 100644 --- a/pep-0552.txt +++ b/pep-0552.txt @@ -73,7 +73,7 @@ invalidation will be done by comparing the metadata of the source file with that in the header. If the lowest bit of the bit field is set, the pyc is a hash-based pyc. We call -the second lowest bit the ``check_source`` flag. Following the bitset is a +the second lowest bit the ``check_source`` flag. Following the bit field is a 64-bit hash of the source file. We will use a SipHash_ with a hardcoded key of the contents of the source file. Another a fast hash like MD5 or BLAKE2_ would also work. We choose SipHash because Python already has a builtin implementation