Serhiy Storchaka added the comment:

> IMO, though, we should just require alignment for the argument to 
> _PyHash_Bytes. It's private after all.

And what to do with memoryview? Memoryview data can be not aligned.

> If I understand it correctly, the hash value differs depending on the kernel 
> configuration when the python binary is built, leading to different pickle 
> objects which cannot be shared, making them incompatible .

Hash values shouldn't be leaked in pickle.

----------
nosy: +serhiy.storchaka

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

Reply via email to