Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/dill/settings.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-07 06:35 +0000

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-2022 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""" 

9global settings for Pickler 

10""" 

11 

12from pickle import DEFAULT_PROTOCOL 

13 

14settings = { 

15 #'main' : None, 

16 'protocol' : DEFAULT_PROTOCOL, 

17 'byref' : False, 

18 #'strictio' : False, 

19 'fmode' : 0, #HANDLE_FMODE 

20 'recurse' : False, 

21 'ignore' : False, 

22} 

23 

24del DEFAULT_PROTOCOL 

25