#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 2008-2016 California Institute of Technology. # Copyright (c) 2016-2023 The Uncertainty Quantification Foundation. # License: 3-clause BSD. The full license text is available at: # - https://github.com/uqfoundation/dill/blob/master/LICENSE """ all Python Standard Library object types (currently: CH 1-15 @ 2.7) and some other common object types (i.e. numpy.ndarray) to load more objects and types, use dill.load_types() """ # non-local import of dill.objects from dill import objects for _type in objects.keys(): exec("%s = type(objects['%s'])" % (_type,_type)) del objects try: del _type except NameError: pass
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
tests | Folder | 0755 |
|
|
__diff.py | File | 6.98 KB | 0644 |
|
__info__.py | File | 10.36 KB | 0644 |
|
__init__.py | File | 3.71 KB | 0644 |
|
_dill.py | File | 85.69 KB | 0644 |
|
_objects.py | File | 18.97 KB | 0644 |
|
_shims.py | File | 6.48 KB | 0644 |
|
detect.py | File | 10.83 KB | 0644 |
|
logger.py | File | 10.82 KB | 0644 |
|
objtypes.py | File | 736 B | 0644 |
|
pointers.py | File | 4.36 KB | 0644 |
|
session.py | File | 22.97 KB | 0644 |
|
settings.py | File | 630 B | 0644 |
|
source.py | File | 44.06 KB | 0644 |
|
temp.py | File | 7.84 KB | 0644 |
|