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 ncoghlan
Recipients ncoghlan, pitrou, rhettinger, skrah
Date 2012-03-01.13:19:37
SpamBayes Score 0.0002461166
Marked as misclassified No
Message-id <1330607978.14.0.63808457811.issue13797@psf.upfronthosting.co.za>
In-reply-to
Content
To answer your other question, no, strview isn't related - that's strictly a PEP 3118 *consumer*, which is well supported from the Python side now that memoryview is fixed.

The trick will be to allow a Python implemented object to be a PEP 3118 exporter *without* having to inherit from a C implemented type that does the slot mapping. Since PEP 3118 didn't describe a Python level API for the protocol, it may actually require a new PEP.

One example for what you could do with it: use the new memoryview.cast() to provide multidimensional views on an exporter that only supports 1D exports natively.
History
Date User Action Args
2012-03-01 13:19:38ncoghlansetrecipients: + ncoghlan, rhettinger, pitrou, skrah
2012-03-01 13:19:38ncoghlansetmessageid: <1330607978.14.0.63808457811.issue13797@psf.upfronthosting.co.za>
2012-03-01 13:19:37ncoghlanlinkissue13797 messages
2012-03-01 13:19:37ncoghlancreate