[pypy-commit] pypy py3.6: hg merge default
arigo
pypy.commits at gmail.com
Mon Aug 26 12:06:29 EDT 2019
Author: Armin Rigo <arigo at tunes.org>
Branch: py3.6
Changeset: r97279:889a5f9aec6c
Date: 2019-08-26 18:05 +0200
http://bitbucket.org/pypy/pypy/changeset/889a5f9aec6c/
Log: hg merge default
diff --git a/rpython/rlib/rsiphash.py b/rpython/rlib/rsiphash.py
--- a/rpython/rlib/rsiphash.py
+++ b/rpython/rlib/rsiphash.py
@@ -123,8 +123,11 @@
def compute_result_annotation(self):
translator = self.bookkeeper.annotator.translator
- if translator.config.translation.reverse_debugger:
- return # ignore and use the regular hash, with reverse-debugger
+ # you should not call enable_siphash24() when translating with the
+ # reverse-debugger, or with sandbox.
+ assert not translator.config.translation.reverse_debugger
+ assert not translator.config.translation.sandbox
+ #
if hasattr(translator, 'll_hash_string'):
assert translator.ll_hash_string == ll_hash_string_siphash24
else:
More information about the pypy-commit
mailing list