Author Jelle Zijlstra
Recipients Jelle Zijlstra
Date 2021-05-01.17:15:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2021-05-01 17:15:22Jelle Zijlstrasetrecipients: + Jelle Zijlstra
2021-05-01 17:15:22Jelle Zijlstrasetmessageid: <>
2021-05-01 17:15:22Jelle Zijlstralinkissue44001 messages
2021-05-01 17:15:22Jelle Zijlstracreate