diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2012-02-04 15:05:31 -0800 |
---|---|---|
committer | Mark Wiebe <mwwiebe@gmail.com> | 2012-02-05 12:48:56 -0800 |
commit | 1d90743cc4d7b697b8c96a2f3369410779968a0f (patch) | |
tree | 687f862c6c11be877318fcf1ec41b224cb861987 /numpy/add_newdocs.py | |
parent | 13010c7f1b338a6286a4b4bb7376a1f3df833d24 (diff) | |
download | numpy-1d90743cc4d7b697b8c96a2f3369410779968a0f.tar.gz |
DEP: Fix up handling of the O4/O8 deprecation
First issue was that the deprecation warning was still
being raised even when an error was being raised (like for 'O3').
Second issue was that unpickling of legacy pickles which have 'O8'
or 'O4' should not raise the deprecation warning. To handle this
required introduction of a global variable, which has been named
and commented to make it clear this was a necessary evil for this
specific case, not a standard NumPy practice.
Diffstat (limited to 'numpy/add_newdocs.py')
0 files changed, 0 insertions, 0 deletions