Skip to content

Commit 2ec686d

Browse files
MNT: deprecate numpy.f2py.diagnose
1 parent 00e23b3 commit 2ec686d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

numpy/f2py/__init__.py

Lines 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

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

613

714
def run_command(cmd):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy