Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2016

Conversation

charris
Copy link
Member

@charris charris commented Jul 25, 2016

Backport of #7853.

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.

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 numpy#7844.
@charris charris added this to the 1.11.2 release milestone Jul 25, 2016
@charris charris merged commit 9760096 into numpy:maintenance/1.11.x Jul 25, 2016
@charris charris deleted the backport-7853 branch July 25, 2016 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant