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 serhiy.storchaka
Recipients dalke, serhiy.storchaka
Date 2017-05-20.21:35:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495316123.62.0.232665792843.issue30416@psf.upfronthosting.co.za>
In-reply-to
Content
Nice example.

The only fix I see is caching the hash in a tuple. This can even help in more cases, when tuples are used as dict keys. But this affect too much code, and can even break a code that mutates a tuple with refcount 1.
History
Date User Action Args
2017-05-20 21:35:23serhiy.storchakasetrecipients: + serhiy.storchaka, dalke
2017-05-20 21:35:23serhiy.storchakasetmessageid: <1495316123.62.0.232665792843.issue30416@psf.upfronthosting.co.za>
2017-05-20 21:35:23serhiy.storchakalinkissue30416 messages
2017-05-20 21:35:23serhiy.storchakacreate