settings.py 630 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. #
  3. # Author: Mike McKerns (mmckerns @caltech and @uqfoundation)
  4. # Copyright (c) 2008-2016 California Institute of Technology.
  5. # Copyright (c) 2016-2024 The Uncertainty Quantification Foundation.
  6. # License: 3-clause BSD. The full license text is available at:
  7. # - https://github.com/uqfoundation/dill/blob/master/LICENSE
  8. """
  9. global settings for Pickler
  10. """
  11. from pickle import DEFAULT_PROTOCOL
  12. settings = {
  13. #'main' : None,
  14. 'protocol' : DEFAULT_PROTOCOL,
  15. 'byref' : False,
  16. #'strictio' : False,
  17. 'fmode' : 0, #HANDLE_FMODE
  18. 'recurse' : False,
  19. 'ignore' : False,
  20. }
  21. del DEFAULT_PROTOCOL