Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9726764

Browse filesBrowse files
MNT: deprecate numpy.f2py.diagnose
1 parent 00e23b3 commit 9726764
Copy full SHA for 9726764

File tree

Expand file treeCollapse file tree

2 files changed

+7
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+7
-1
lines changed

‎numpy/f2py/__init__.py

Copy file name to clipboardExpand all lines: numpy/f2py/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
from numpy.exceptions import VisibleDeprecationWarning
1818

19-
from . import diagnose, f2py2e
19+
from . import f2py2e
2020

2121
run_main = f2py2e.run_main
2222
main = f2py2e.main

‎numpy/f2py/diagnose.py

Copy file name to clipboardExpand all lines: numpy/f2py/diagnose.py
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
import os
33
import sys
44
import tempfile
5+
import warnings
6+
7+
# NumPy 2.3.0, 2025-05-01
8+
warnings.warn('The module numpy.f2py.diagnose is deprecated since NumPy 2.3.0.',
9+
DeprecationWarning,
10+
stacklevel=2)
511

612

713
def run_command(cmd):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.