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

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

5 statements  

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-2025 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