Closed
Description
If I have a dictionary which has a key of type: future.types.newstr.newstr (basically the str from builtins), and I try to pickle it and unpickle it back in python3 it doesn't work:
Traceback (most recent call last):
File "/.PyCharm2018.3/config/scratches/scratch_6.py", line 16, in <module>
main()
File "/.PyCharm2018.3/config/scratches/scratch_6.py", line 11, in main
trialsArr = pickle.load(fp)
TypeError: unhashable type: 'newstr'
Is there a way to work-around for this?