Commit 121da47e authored by Evan Simpson's avatar Evan Simpson

Removed read protection from lists, dicts, tuples, ints, and floats.

parent 867a0555
......@@ -482,7 +482,8 @@ def _ReadGuard(ob):
w.__dict__['_ob'] = ob
return w
ReadGuard = bind(_ReadGuard, safetypes=(type(''),))
ReadGuard = bind(_ReadGuard, safetypes=(type(''), type([]), type({}),
type(()), type(0), type(1.0),) )
def RedirectReads():
'''Redirect LOAD_* on objects to methods
......
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