[Numpy-svn] [numpy/numpy] df6b31: BUG: Cannot read .f2py_f2cmaps under python 3.3

GitHub noreply at github.com
Sun Mar 8 12:58:17 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: df6b31d535c1d388a2022f24c228e02547f89310
      https://github.com/numpy/numpy/commit/df6b31d535c1d388a2022f24c228e02547f89310
  Author: David Powell <david.a.powell at anu.edu.au>
  Date:   2015-03-06 (Fri, 06 Mar 2015)

  Changed paths:
    M numpy/f2py/capi_maps.py

  Log Message:
  -----------
  BUG: Cannot read .f2py_f2cmaps under python 3.3

When reading .f2py_f2cmaps, these is iteration over dictionaries keys()
and items(), which are iterators in python 3. This prohibits modifying the
dicionaries while iterating. By wrapping these calls with list(), the python 2
behaviour is restored. Fixes #5637.


  Commit: a0ea0593aea99ef139953e5c721302832699f629
      https://github.com/numpy/numpy/commit/a0ea0593aea99ef139953e5c721302832699f629
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-03-08 (Sun, 08 Mar 2015)

  Changed paths:
    M numpy/f2py/capi_maps.py

  Log Message:
  -----------
  Merge pull request #5638 from DavidPowell/master

BUG: Cannot read .f2py_f2cmaps under python 3.3


Compare: https://github.com/numpy/numpy/compare/b3a087ca9950...a0ea0593aea9


More information about the Numpy-svn mailing list