Commit 6ed63b92 authored by Andreas Jung's avatar Andreas Jung

added UnicodeError as safe name

parent 35f9ca1c
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
############################################################################## ##############################################################################
from __future__ import nested_scopes from __future__ import nested_scopes
__version__='$Revision: 1.8 $'[11:-2] __version__='$Revision: 1.9 $'[11:-2]
import new import new
...@@ -28,7 +28,7 @@ for name in ('None', 'abs', 'chr', 'divmod', 'float', 'hash', 'hex', 'int', ...@@ -28,7 +28,7 @@ for name in ('None', 'abs', 'chr', 'divmod', 'float', 'hash', 'hex', 'int',
'IOError', 'ImportError', 'IndexError', 'KeyError', 'IOError', 'ImportError', 'IndexError', 'KeyError',
'LookupError', 'NameError', 'OSError', 'OverflowError', 'LookupError', 'NameError', 'OSError', 'OverflowError',
'RuntimeError', 'StandardError', 'SyntaxError', 'RuntimeError', 'StandardError', 'SyntaxError',
'TypeError', 'ValueError', 'ZeroDivisionError',): 'TypeError', 'UnicodeError', 'ValueError', 'ZeroDivisionError',):
safe_builtins[name] = __builtins__[name] safe_builtins[name] = __builtins__[name]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment