Antoine Pitrou <[email protected]> added the comment: > Does memory_hash() reject non-contiguous memory?
It should, since it checks the strides array. > _Py_HashBytes() might be reused by unicode_hash() for PyUnicode_1BYTE_KIND. I don't really see how unicode hashing should be related to bytes hashing (even though apparently an (outdated?) test checks for that). ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue13411> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
