Commit 317f0836 authored by Klaus Wölfel's avatar Klaus Wölfel

Allow zbigarray.append in sandbox

parent e13aed4a
...@@ -57,6 +57,7 @@ allow_type(type(np.c_)) ...@@ -57,6 +57,7 @@ allow_type(type(np.c_))
import pandas as pd import pandas as pd
allow_type(pd.Series) allow_type(pd.Series)
allow_type(pd.Timestamp)
allow_type(pd.DatetimeIndex) allow_type(pd.DatetimeIndex)
allow_type(pd.DataFrame) allow_type(pd.DataFrame)
...@@ -67,3 +68,5 @@ from RestrictedPython.Guards import full_write_guard ...@@ -67,3 +68,5 @@ from RestrictedPython.Guards import full_write_guard
full_write_guard.func_closure[1].cell_contents.__self__[np.ndarray] = True full_write_guard.func_closure[1].cell_contents.__self__[np.ndarray] = True
from wendelin.bigarray.array_zodb import ZBigArray from wendelin.bigarray.array_zodb import ZBigArray
full_write_guard.func_closure[1].cell_contents.__self__[ZBigArray] = True full_write_guard.func_closure[1].cell_contents.__self__[ZBigArray] = True
allow_type(ZBigArray)
\ No newline at end of file
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