summaryrefslogtreecommitdiff
path: root/numpy/lib/_iotools.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-02-08 20:46:53 -0800
committerEric Wieser <wieser.eric@gmail.com>2018-02-20 01:21:38 -0800
commit14e64281cfe374a9cad476599cbe9b4fa850efb7 (patch)
tree3b52b113488e0e24d454ddc9f55c80852bd0353c /numpy/lib/_iotools.py
parent4cfac4067a27835de6b0ae204df0e8c91998c1f2 (diff)
downloadnumpy-14e64281cfe374a9cad476599cbe9b4fa850efb7.tar.gz
ENH: Make NpzFile conform to the Mapping protocol
This is potentially a breaking change for python 3, because the Mapping protocol changed between python 2 and python 3 - `items()` and `keys()` now return views, not lists. In practice, any user running `2to3` should have found this fixed itself automatically. Also fixes dir(np.lib.npyio.BagObj(dict(a=1))) on python 3. Fixes gh-1723
Diffstat (limited to 'numpy/lib/_iotools.py')
0 files changed, 0 insertions, 0 deletions