Nick Coghlan added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13072>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to