brownie icon indicating copy to clipboard operation
brownie copied to clipboard

Makes "missing" pickleable

Open mgood opened this issue 12 years ago • 1 comments

We had some objects using "missing" that needed pickled, but because missing's class is not accessible by name. This makes it pickleable by returning the name of the "missing" global, and there's a test verifying that the instance of "missing" returned when unpickling is the same global instance.

mgood avatar Feb 01 '12 21:02 mgood

Good stuff. I need this too!

maguro avatar Feb 01 '12 21:02 maguro