Commit 7402a59e authored by Yusei Tahara's avatar Yusei Tahara

erp5_data_notebook: ZBigArray may not be available, add it to...

erp5_data_notebook: ZBigArray may not be available, add it to well_known_unserializable_type_tuple if possible.
parent c5560c4e
......@@ -30,8 +30,13 @@ display_data_wrapper_lock = threading.Lock()
# Well known unserializable types
from Record import Record
from wendelin.bigarray.array_zodb import ZBigArray
well_known_unserializable_type_tuple = (ModuleType, Record, ZBigArray)
well_known_unserializable_type_tuple = (ModuleType, Record)
# ZBigArray may not be available
try:
from wendelin.bigarray.array_zodb import ZBigArray
well_known_unserializable_type_tuple = tuple(list(well_known_unserializable_type_tuple) + [ZBigArray])
except ImportError:
pass
def Base_executeJupyter(self, python_expression=None, reference=None, \
title=None, request_reference=False, **kw):
......
......@@ -46,13 +46,13 @@
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W:396, 10: Use of exec (exec-used)</string>
<string>W:442, 10: Use of exec (exec-used)</string>
<string>W:455, 10: Use of exec (exec-used)</string>
<string>W:544, 4: No exception type(s) specified (bare-except)</string>
<string>W:552, 6: No exception type(s) specified (bare-except)</string>
<string>W:864, 6: Use of exec (exec-used)</string>
<string>W:1099, 2: Redefining name \'IFrame\' from outer scope (line 4) (redefined-outer-name)</string>
<string>W:401, 10: Use of exec (exec-used)</string>
<string>W:447, 10: Use of exec (exec-used)</string>
<string>W:460, 10: Use of exec (exec-used)</string>
<string>W:549, 4: No exception type(s) specified (bare-except)</string>
<string>W:557, 6: No exception type(s) specified (bare-except)</string>
<string>W:869, 6: Use of exec (exec-used)</string>
<string>W:1104, 2: Redefining name \'IFrame\' from outer scope (line 4) (redefined-outer-name)</string>
</tuple>
</value>
</item>
......
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