My patch example does change the bytes object hash as well as Unicode. On Jan 13, 2012 7:46 PM, <martin at v.loewis.de> wrote: > What an implementation looks like: >> >> http://pastebin.com/9ydETTag >> >> some stuff to be filled in, but this is all that is really required. >> > > I think this statement (and the patch) is wrong. You also need to change > the byte string hashing, at least for 2.x. This I consider the biggest > flaw in that approach - other people may have written string-like objects > which continue to compare equal to a string but now hash different. > > Regards, > Martin > > > ______________________________**_________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/**mailman/listinfo/python-dev<http://mail.python.org/mailman/listinfo/python-dev> > Unsubscribe: http://mail.python.org/**mailman/options/python-dev/** > greg%40krypto.org<http://mail.python.org/mailman/options/python-dev/greg%40krypto.org> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120114/f1fa0fc5/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4