Message154692
| 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:38 | ncoghlan | set | recipients:
+ ncoghlan, rhettinger, pitrou, skrah |
| 2012年03月01日 13:19:38 | ncoghlan | set | messageid: <1330607978.14.0.63808457811.issue13797@psf.upfronthosting.co.za> |
| 2012年03月01日 13:19:37 | ncoghlan | link | issue13797 messages |
| 2012年03月01日 13:19:37 | ncoghlan | create |
|