homepage

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 skrah
Recipients Alexander.Belopolsky, Arfrever, Dag.Sverre.Seljebotn, belopolsky, christian.heimes, georg.brandl, loewis, mark.dickinson, meador.inge, ncoghlan, pitrou, python-dev, scoder, skrah, vstinner
Date 2012年09月01日.18:06:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20120901180633.GA16743@sleipnir.bytereef.org>
In-reply-to <50424964.8050806@v.loewis.de>
Content
> py> x = memoryview(array.array('B',b'cba'))
I find the array example is different. The user has to remember one thing:
memoryviews based on arrays don't hash.
For memoryviews based on bytes one would have to remember:
 - 'B', 'c' and 'b' hash
 - only C-contiguous arrays hash
 - b'abc'[::-1] hashes, but memoryview(b'abc')[::-1] does not
History
Date User Action Args
2012年09月01日 18:06:33skrahsetrecipients: + skrah, loewis, georg.brandl, mark.dickinson, ncoghlan, belopolsky, pitrou, scoder, vstinner, christian.heimes, Arfrever, meador.inge, Alexander.Belopolsky, python-dev, Dag.Sverre.Seljebotn
2012年09月01日 18:06:32skrahlinkissue15814 messages
2012年09月01日 18:06:32skrahcreate

AltStyle によって変換されたページ (->オリジナル) /