Skip to content

Commit

Permalink
Update cloudpickle/cloudpickle_fast.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel committed Jul 1, 2021
1 parent c295f5d commit b127a38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudpickle/cloudpickle_fast.py
Expand Up @@ -441,18 +441,18 @@ def _odict_keys_reduce(obj):
# Safer not to ship the full dict as sending the rest might
# be unintended and could potentially cause leaking of
# sensitive information
return _make_dict_keys, (list(obj), True)
return _make_dict_keys, (list(obj), is_ordered=True)


def _odict_values_reduce(obj):
# Safer not to ship the full dict as sending the rest might
# be unintended and could potentially cause leaking of
# sensitive information
return _make_dict_values, (list(obj), True)
return _make_dict_values, (list(obj), is_ordered=True)


def _odict_items_reduce(obj):
return _make_dict_items, (dict(obj), True)
return _make_dict_items, (dict(obj), is_ordered=True)


# COLLECTIONS OF OBJECTS STATE SETTERS
Expand Down

0 comments on commit b127a38

Please sign in to comment.