Skip to content

Commit bb0952d

Browse files
committed
DOC: Comments about deprecation timeframe.
1 parent 8ff916a commit bb0952d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

numpy/core/tests/test_deprecations.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ class TestFloatScalarIndexDeprecation(object):
4141
4242
When 2.4 support is dropped `PyIndex_Check_Or_Unsupported` should
4343
be removed from npy_pycompat.h and changed to just `PyIndex_Check`.
44+
45+
As for the deprecation time-frame: via Ralf Gommers,
46+
47+
"Hard to put that as a version number, since we don't know if the
48+
version after 1.8 will be 6 months or 2 years after. I'd say 2
49+
years is reasonable."
50+
51+
I interpret this to mean 2 years after the 1.8 release.
4452
"""
4553
def setUp(self):
4654
warnings.filterwarnings("error", message="non-integer scalar index",
@@ -106,6 +114,14 @@ class TestFloatSliceParameterDeprecation(object):
106114
implements the same thing but with a) int coercion and b) Python
107115
< 2.3 backwards compatibility (which we have long since dropped
108116
as of this writing).
117+
118+
As for the deprecation time-frame: via Ralf Gommers,
119+
120+
"Hard to put that as a version number, since we don't know if the
121+
version after 1.8 will be 6 months or 2 years after. I'd say 2
122+
years is reasonable."
123+
124+
I interpret this to mean 2 years after the 1.8 release.
109125
"""
110126
def setUp(self):
111127
warnings.filterwarnings("error", message="non-integer slice param",

0 commit comments

Comments
 (0)