commit | 5b76bdba071e7bbd9fda0b9b100d1506d95c04bd | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sat Jan 13 00:28:31 2018 +0200 |
committer | GitHub <noreply@github.com> | Sat Jan 13 00:28:31 2018 +0200 |
tree | 6330db8f2ec3db059cdad53010c11bce85b388fc | |
parent | f3031b8a7ad71d3b6ed05da7f3041d9efbe773cf [diff] |
bpo-31993: Do not use memoryview when pickle large strings. (#5154) PyMemoryView_FromMemory() created a memoryview referring to the internal data of the string. When the string is destroyed the memoryview become referring to a freed memory.