From 0445658fd5e29a4632022edc7dae4f04dd00a856 Mon Sep 17 00:00:00 2001
From: Matthias Diener <mdiener@illinois.edu>
Date: Sun, 20 Jun 2021 18:52:42 -0500
Subject: [PATCH] force str return

---
 arraycontext/impl/pytato.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arraycontext/impl/pytato.py b/arraycontext/impl/pytato.py
index 9a54c00..459b76f 100644
--- a/arraycontext/impl/pytato.py
+++ b/arraycontext/impl/pytato.py
@@ -191,7 +191,7 @@ def _ary_container_key_stringifier(keys: Tuple[Any, ...]) -> str:
     """
     def _rec_str(key: Any) -> str:
         if isinstance(key, (str, int)):
-            return key
+            return str(key)
         elif isinstance(key, tuple):
             return "tup" + "_".join(_rec_str(k) for k in key) + "endtup"
         else:
-- 
GitLab