diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-06-19 19:54:15 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-06-21 12:43:06 -0600 |
commit | 505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51 (patch) | |
tree | b1141ad866027a2e053f750c918fd4eb52a7fb21 /numpy/lib/npyio.py | |
parent | f6861923209df65d9c4253368061072eda67ea77 (diff) | |
download | numpy-505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51.tar.gz |
MAINT: Mark deprecation warning with a date and Numpy version.
This is to make it easier to find and remove deprecated features.
It would be a good idea if all deprecations were made with similar
comments.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index ec89397a0..4ad774f1f 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -1515,6 +1515,7 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None, # Get the first valid lines after the first skiprows ones .. if skiprows: + # 2011-03-06 RemoveMe warnings.warn( "The use of `skiprows` is deprecated, it will be removed in " "numpy 2.0.\nPlease use `skip_header` instead.", @@ -1650,6 +1651,7 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None, # Process the deprecated `missing` if missing != asbytes(''): + # 2011-03-06 RemoveMe warnings.warn( "The use of `missing` is deprecated, it will be removed in " "Numpy 2.0.\nPlease use `missing_values` instead.", |