Shofel2_T124_python/venv/lib/python3.10/site-packages/dill/settings.py

26 lines
630 B
Python

#!/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
"""
global settings for Pickler
"""
from pickle import DEFAULT_PROTOCOL
settings = {
#'main' : None,
'protocol' : DEFAULT_PROTOCOL,
'byref' : False,
#'strictio' : False,
'fmode' : 0, #HANDLE_FMODE
'recurse' : False,
'ignore' : False,
}
del DEFAULT_PROTOCOL