diff options
author | jakirkham <jakirkham@gmail.com> | 2020-05-12 13:01:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 15:01:15 -0500 |
commit | beb031d64b42f4643d1ba5186c091fb1328ac8c9 (patch) | |
tree | e6bc7f6a45fa9a10abca3b113cbf27838b6ddee4 /numpy/lib/utils.py | |
parent | 823c59c659832c0a9b95829dbc5ebe7f5c81e1d2 (diff) | |
download | numpy-beb031d64b42f4643d1ba5186c091fb1328ac8c9.tar.gz |
ENH: Allow pickle with protocol 5 when higher is requested (#16185)
* Handle out-of-band buffers with protocol 5+
Previously we were checking that protocol 5 was matched exactly. However
it should be fine if a newer protocol was used as well. So check that at
least protocol 5 was used (though newer is fine too).
* Drop error for protocol's greater than 5
Diffstat (limited to 'numpy/lib/utils.py')
0 files changed, 0 insertions, 0 deletions