Message169659
Am 01.09.12 20:06, schrieb Stefan Krah:
> - b'abc'[::-1] hashes, but memoryview(b'abc')[::-1] does not
I find that memoryview(b'abc')[::-1] is a strange thing to have,
anyway, so I'm not bothered by it behaving different. I can accept
that it needs to be supported for consistency, but I would recommend
against using it in applications. Who needs reversed memory, anyway?
The only case were I ever needed reversal is lists (typically sorted,
perhaps cronological). |
|
Date |
User |
Action |
Args |
2012-09-01 18:22:29 | loewis | set | recipients:
+ loewis, georg.brandl, mark.dickinson, ncoghlan, belopolsky, pitrou, scoder, vstinner, christian.heimes, Arfrever, skrah, meador.inge, Alexander.Belopolsky, python-dev, Dag.Sverre.Seljebotn |
2012-09-01 18:22:28 | loewis | link | issue15814 messages |
2012-09-01 18:22:28 | loewis | create | |
|