[issue14930] Make memoryview weakrefable
Richard Oudkerk
report at bugs.python.org
Sun May 27 23:06:00 CEST 2012
New submission from Richard Oudkerk <shibturn at gmail.com>:
The attached patch makes memoryview objects weakrefable.
The reason I would like them to be weakrefable is so that I can manage the finalization and pickling of memoryview objects which wrap shared mmap segments.
(It would be even better if memoryview were subclassable, but I don't know if naively changing tp_flags would be enough.)
----------
components: Interpreter Core
files: memoryview-weakref.patch
keywords: patch
messages: 161729
nosy: sbt
priority: normal
severity: normal
stage: patch review
status: open
title: Make memoryview weakrefable
type: enhancement
versions: Python 3.3
Added file: http://bugs.python.org/file25739/memoryview-weakref.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14930>
_______________________________________
More information about the Python-bugs-list
mailing list