From c657def253cd2cff8725a035552c21bc09381d67 Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Sat, 6 Apr 2013 23:31:26 -0400 Subject: [PATCH] namespaceing to __hy in case anyone tries this 4real --- hy/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hy/compiler.py b/hy/compiler.py index 247319d..fd31ec8 100644 --- a/hy/compiler.py +++ b/hy/compiler.py @@ -52,7 +52,7 @@ def ast_str(foobar): enc = codecs.getencoder('punycode') foobar, _ = enc(foobar) - return str(foobar).replace("-", "_") + return "__hy_%s" % (str(foobar).replace("-", "_")) def builds(_type):