Message169451
Am 30.08.12 11:24, schrieb Stefan Krah:
>>> The new equality definition and any possible new hash definition should
>>> probably also be part of the buffer API documentation, since they
>>> aren't memoryview specific.
>>
>> That's not true: they *are* memoryview-specific. The notion of equality
>> is entirely one of memoryview objects, not of buffers.
>
> Could you name a part of the equality definition that is memoryview-specific?
As literally spelled out, it starts with "a memoryview and a PEP 3118
exporter". But I was actually thinking of the implementation...
In any case, I'm skeptical that this is a useful extension to the buffer
interface. You would imply "two exporters are equal iff their exported
buffers are equal". I think this is asking too much. |
|
Date |
User |
Action |
Args |
2012-08-30 13:01:52 | loewis | set | recipients:
+ loewis, georg.brandl, mark.dickinson, ncoghlan, belopolsky, pitrou, scoder, vstinner, christian.heimes, Arfrever, skrah, meador.inge |
2012-08-30 13:01:51 | loewis | link | issue15814 messages |
2012-08-30 13:01:51 | loewis | create | |
|