8000 1.10 deprecated removal by charris · Pull Request #5990 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

1.10 deprecated removal #5990

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 9 commits into from
Jun 21, 2015
Prev Previous commit
DEP: Add notes to some deprecations.
Some keywords are deprecated and slated for removal in numpy 2.0.
Add comment to deprecation date to clarify that.
  • Loading branch information
charris committed Jun 21, 2015
commit a27f56069fb883c44dd4986d15e751162d85b621
2 changes: 1 addition & 1 deletion numpy/core/numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ def correlate(a, v, mode='valid', old_behavior=False):
# the old behavior should be made available under a different name, see thread
# http://thread.gmane.org/gmane.comp.python.numeric.general/12609/focus=12630
if old_behavior:
# 2009-07-18 RemoveMe
# 2009-07-18 Cannot remove without replacement function.
warnings.warn("""
The old behavior of correlate was deprecated for 1.4.0, and will be completely removed
for NumPy 2.0.
Expand Down
4 changes: 2 additions & 2 deletions numpy/lib/npyio.py
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +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
# 2011-03-06 Cannot remove is keyword.
warnings.warn(
"The use of `skiprows` is deprecated, it will be removed in "
"numpy 2.0.\nPlease use `skip_header` instead.",
Expand Down Expand Up @@ -1651,7 +1651,7 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None,

# Process the deprecated `missing`
if missing != asbytes(''):
# 2011-03-06 RemoveMe
# 2011-03-06 Cannot remove, is keyword.
warnings.warn(
"The use of `missing` is deprecated, it will be removed in "
"Numpy 2.0.\nPlease use `missing_values` instead.",
Expand Down
0