Skip to content

Commit ebc7297

Browse files
MNT: deprecate numpy.f2py.diagnose
1 parent 794a7fc commit ebc7297

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

numpy/f2py/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
from numpy.exceptions import VisibleDeprecationWarning
1818
from . import f2py2e
19-
from . import diagnose
2019

2120
run_main = f2py2e.run_main
2221
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