Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r77044:038aced7aad3
Date: 2015-05-04 18:02 +0200
http://bitbucket.org/pypy/pypy/changeset/038aced7aad3/

Log:    The point of unique_key

diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeeper.py
--- a/rpython/annotator/bookkeeper.py
+++ b/rpython/annotator/bookkeeper.py
@@ -532,7 +532,9 @@
         Can be called in various contexts, but from compute_annotation()
         or compute_result_annotation() of an ExtRegistryEntry, call it
         with both "unique_key" and "callback" set to
-        "self.bookkeeper.position_key".
+        "self.bookkeeper.position_key".  If there are several calls from
+        the same operation, they need their own "unique_key", like
+        (position_key, "first") and (position_key, "second").
 
         In general, "unique_key" should somehow uniquely identify where
         the call is in the source code, and "callback" can be either a
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to