use only hashable objects#14595
Conversation
|
Can you put this bail point after trying to convert it to a tuple? Currently values that are Would it be better to fallback to You probably want to apply the same fixes to |
tacaswell
left a comment
There was a problem hiding this comment.
There is a subtle behavior change for values of mutable iterables.
Should get a test.
|
FWIW I argued a while ago that _make_key should just serialize everything by dumping them to a pickle format (well, sure, things can be unpicklable but that's much rarer than unhashable). |
|
This hashing is now gone due to #19153. |
PR Summary
in some cases (specific projection) we need to add unhasable parameters
this PR skip them in _make_key for robustness
this add no change in API
PR Checklist