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 Arfrever, georg.brandl, mark.dickinson, meador.inge, ncoghlan, pitrou, python-dev, skrah, vstinner
Date 2012-08-06.09:52:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344246731.67.0.317730495469.issue13072@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps if memoryview doesn't understand the format code, it can fall back on memcmp() if strcmp() indicates the format codes are the same?

Otherwise we're at risk of breaking backwards compatibility with more than just array('u').

Also, if it isn't already, the change to take format codes into a account in memoryview comparisons should be mentioned in the What's New porting section.
History
Date User Action Args
2012-08-06 09:52:11ncoghlansetrecipients: + ncoghlan, georg.brandl, mark.dickinson, pitrou, vstinner, Arfrever, skrah, meador.inge, python-dev
2012-08-06 09:52:11ncoghlansetmessageid: <1344246731.67.0.317730495469.issue13072@psf.upfronthosting.co.za>
2012-08-06 09:52:11ncoghlanlinkissue13072 messages
2012-08-06 09:52:10ncoghlancreate