[New-bugs-announce] [issue9229] memoryview of mmap object not working in 2.7
Matt Gattis
report at bugs.python.org
Mon Jul 12 04:46:18 CEST 2010
New submission from Matt Gattis <gattis at gmail.com>:
This code works in 3.1.2 but not in 2.7:
>>> import mmap
>>> m = mmap.mmap(-1,20)
>>> v = memoryview(m)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: cannot make memory view because object does not have the buffer interface
----------
components: Extension Modules, IO
messages: 110063
nosy: Matt.Gattis
priority: normal
severity: normal
status: open
title: memoryview of mmap object not working in 2.7
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9229>
_______________________________________
More information about the New-bugs-announce
mailing list