Backed out changeset 6afb554797b6, which added unicode identifier support. This doesn't work in reality under Python 2.6 properly.
--HG--
branch : trunk
diff --git a/jinja2/debug.py b/jinja2/debug.py
index cfc2bc8..9209054 100644
--- a/jinja2/debug.py
+++ b/jinja2/debug.py
@@ -12,7 +12,6 @@
"""
import sys
from types import CodeType
-from jinja2.compiler import unmask_identifier
def translate_exception(exc_info):
@@ -67,13 +66,7 @@
locals = {}
for name, value in real_locals.iteritems():
if name.startswith('l_'):
- try:
- locals[str(unmask_identifier(name))] = value
- except UnicodeError:
- # bummer. someone actually used an unicode identifier.
- # there is no way this can be added back into the python
- # layer with python < 3. we have to ignore it...
- pass
+ locals[name[2:]] = value
# if there is a local called __jinja_exception__, we get
# rid of it to not break the debug functionality.