This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients benjamin.peterson, eric.araujo, kristjan.jonsson, pitrou
Date 2010-10-28.13:52:10
SpamBayes Score 2.6299263e-06
Marked as misclassified No
Message-id <1288273931.59.0.425501771585.issue10212@psf.upfronthosting.co.za>
In-reply-to
Content
MAL’s viewpoint from msg119721:

“The memoryview object was added to simplify porting applications to Python3. If that backport is incomplete in the sense that the memoryview object is not compatible with the standard Python2 object for such memory views, then I'd consider that a bug.

Without compatibility to the buffer objects, there's no way to make other Python2 buffer interface compatible object compatible to memoryviews.

Alternatively, the Python2 memoryview object implementation could also accept objects with the old buffer interface, much like "s*" does.

Note that the patch needs to check the buffer flags - writing to such buffers is not allowed.”
History
Date User Action Args
2010-10-28 13:52:11eric.araujosetrecipients: + eric.araujo, pitrou, kristjan.jonsson, benjamin.peterson
2010-10-28 13:52:11eric.araujosetmessageid: <1288273931.59.0.425501771585.issue10212@psf.upfronthosting.co.za>
2010-10-28 13:52:10eric.araujolinkissue10212 messages
2010-10-28 13:52:10eric.araujocreate