Message392608
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:22 | JelleZijlstra | set | recipients:
+ JelleZijlstra |
2021-05-01 17:15:22 | JelleZijlstra | set | messageid: <1619889322.68.0.709429587996.issue44001@roundup.psfhosted.org> |
2021-05-01 17:15:22 | JelleZijlstra | link | issue44001 messages |
2021-05-01 17:15:22 | JelleZijlstra | create | |
|