Show More
@@ -25,6 +25,7 b' from types import ModuleType' | |||
|
25 | 25 | import zmq |
|
26 | 26 | |
|
27 | 27 | from IPython.testing.skipdoctest import skip_doctest |
|
28 | from IPython.utils import pickleutil | |
|
28 | 29 | from IPython.utils.traitlets import ( |
|
29 | 30 | HasTraits, Any, Bool, List, Dict, Set, Instance, CFloat, Integer |
|
30 | 31 | ) |
@@ -512,6 +513,16 b' class DirectView(View):' | |||
|
512 | 513 | # raise possible remote ImportErrors here |
|
513 | 514 | r.get() |
|
514 | 515 | |
|
516 | def use_dill(self): | |
|
517 | """Expand serialization support with dill | |
|
518 | ||
|
519 | adds support for closures, etc. | |
|
520 | ||
|
521 | This calls IPython.utils.pickleutil.use_dill() here and on each engine. | |
|
522 | """ | |
|
523 | pickleutil.use_dill() | |
|
524 | return self.apply(pickleutil.use_dill) | |
|
525 | ||
|
515 | 526 | |
|
516 | 527 | @sync_results |
|
517 | 528 | @save_ids |
General Comments 0
You need to be logged in to leave comments.
Login now