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.
S
Serhiy Storchaka committed
5b76bdba071e7bbd9fda0b9b100d1506d95c04bd
Parent: f3031b8
Committed by GitHub <noreply@github.com>
on 1/12/2018, 10:28:31 PM