[Numpy-svn] [numpy/numpy] 5361d6: BUG: Raise RuntimeError when reloading numpy is at...

GitHub noreply at github.com
Mon Jul 25 18:20:55 EDT 2016


  Branch: refs/heads/maintenance/1.11.x
  Home:   https://github.com/numpy/numpy
  Commit: 5361d6967f8fb512088f210d1bf78457c8f79400
      https://github.com/numpy/numpy/commit/5361d6967f8fb512088f210d1bf78457c8f79400
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-07-25 (Mon, 25 Jul 2016)

  Changed paths:
    M numpy/__init__.py
    A numpy/tests/test_reloading.py

  Log Message:
  -----------
  BUG: Raise RuntimeError when reloading numpy is attempted.

There seems to be little use in reloading numpy as any changed modules
that are imported into numpy would need to be reloaded first in order to
see any changes. Furthermore, reloading causes problems as global
classes defined in numpy/__init__.py change their identity. Hence we
raise a RuntimeError when an attempt to reload numpy is made.

Closes #7844.


  Commit: 9760096f0ea6563283cb022949b34d670602519a
      https://github.com/numpy/numpy/commit/9760096f0ea6563283cb022949b34d670602519a
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-07-25 (Mon, 25 Jul 2016)

  Changed paths:
    M numpy/__init__.py
    A numpy/tests/test_reloading.py

  Log Message:
  -----------
  Merge pull request #7870 from charris/backport-7853

Backport 7853, BUG: Raise RuntimeError when reloading numpy is attempted.


Compare: https://github.com/numpy/numpy/compare/3c26d4324f5b...9760096f0ea6


More information about the Numpy-svn mailing list