diff --git a/pytools/tag.py b/pytools/tag.py index 38c987b33c51af12ecf92a96cb5e5234799d83c3..f3b7559c2a6775458a4a58761dc06c385efa7973 100644 --- a/pytools/tag.py +++ b/pytools/tag.py @@ -127,7 +127,8 @@ class Tag: return DottedName.from_class(type(self)) def update_persistent_hash(self, key_hash, key_builder): - key_builder.rec(key_hash, self.__class__.__qualname__) + key_builder.rec(key_hash, + (self.__class__.__module__, self.__class__.__qualname__)) from dataclasses import fields # Fields are ordered consistently, so ordered hashing is OK.