Author Alex Hayes
Recipients Alex Hayes
Date 2017-08-15.04:49:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502772551.88.0.290451219237.issue31209@psf.upfronthosting.co.za>
In-reply-to
Content
I imagine that this is by design (likely because it can't be implemented) however I wanted to check if this was the case.

Instances of types.MappingProxyType can't be pickled.

For example;

```
import pickle
from types import MappingProxyType
eggs = MappingProxyType(dict(sausage=True))
pickle.dumps(eggs)
```

Raises: TypeError: can't pickle mappingproxy objects

----

Is this the desired behaviour or is it a bug?
History
Date User Action Args
2017-08-15 04:49:11Alex Hayessetrecipients: + Alex Hayes
2017-08-15 04:49:11Alex Hayessetmessageid: <1502772551.88.0.290451219237.issue31209@psf.upfronthosting.co.za>
2017-08-15 04:49:11Alex Hayeslinkissue31209 messages
2017-08-15 04:49:11Alex Hayescreate