(self, *args, **kwargs)
| 315 | |
| 316 | |
| 317 | def __init__(self, *args, **kwargs): |
| 318 | Environment.__init__(self, *args, **kwargs) |
| 319 | self.globals['range'] = safe_range |
| 320 | self.binop_table = self.default_binop_table.copy() |
| 321 | self.unop_table = self.default_unop_table.copy() |
| 322 | |
| 323 | def is_safe_attribute(self, obj, attr, value): |
| 324 | """The sandboxed environment will call this method to check if the |