[issue41673] Result of multiprocessing.heap.BufferWrapper.create_memoryview can point to freed memory

2020-08-31 Thread Eric Wieser
Eric Wieser added the comment: Whoops, typo. `>>> b[0]` should read `m[0]`. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41673] Result of multiprocessing.heap.BufferWrapper.create_memoryview can point to freed memory

2020-08-31 Thread Eric Wieser
New submission from Eric Wieser : The full definition of `multiprocessing.heap.BufferWrapper` is: class BufferWrapper(object): _heap = Heap() def __init__(self, size): if size < 0: raise ValueError("Size {0:n} out of range".format(size))