Author Jelle Zijlstra
Recipients Jelle Zijlstra
Date 2021-05-01.17:15:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619889322.68.0.709429587996.issue44001@roundup.psfhosted.org>
In-reply-to
Content
After the changes from bpo-42345, the Literal documentation claims that "Literal objects will now raise a TypeError exception during equality comparisons if one of their parameters are not immutable." But in fact it's *unhashable* types that raise an error; mutable but hashable types such as functions or custom objects work fine.

I'll submit a PR for this but may wait until GH-25787 is resolved.
History
Date User Action Args
2021-05-01 17:15:22Jelle Zijlstrasetrecipients: + Jelle Zijlstra
2021-05-01 17:15:22Jelle Zijlstrasetmessageid: <1619889322.68.0.709429587996.issue44001@roundup.psfhosted.org>
2021-05-01 17:15:22Jelle Zijlstralinkissue44001 messages
2021-05-01 17:15:22Jelle Zijlstracreate