Comment 6 for bug 1844684

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

looks like python3.8 relies more on hashes - the following change fixes things for me:

=== modified file 'breezy/_static_tuple_c.h'
--- old/breezy/_static_tuple_c.h 2017-05-21 18:10:28 +0000
+++ new/breezy/_static_tuple_c.h 2019-09-20 02:11:42 +0000
@@ -20,7 +20,7 @@
 #include <Python.h>
 #include <string.h>

-#define STATIC_TUPLE_HAS_HASH 0
+#define STATIC_TUPLE_HAS_HASH 1
 /* Caching the hash adds memory, but allows us to save a little time during
  * lookups. TIMEIT hash(key) shows it as
  * 0.108usec w/ hash

I'll propose this as a change tomorrow.