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

MNT: discard unused function using os.system() #28876

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 1 commit into from
May 1, 2025

Conversation

DimitriPapadopoulos
Copy link
Contributor

No description provided.

@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as ready for review May 1, 2025 10:03
@charris charris merged commit 25340fe into numpy:main May 1, 2025
73 of 74 checks passed
@charris
Copy link
Member

charris commented May 1, 2025

Thanks @DimitriPapadopoulos .

Hmm, I suspect this whole file can be removed. It seems intended to provide system information when dealing with f2py failures. It also has a lot of code dealing with distutils, which is going away.

@DimitriPapadopoulos DimitriPapadopoulos deleted the os.system branch May 1, 2025 14:33
@DimitriPapadopoulos
Copy link
Contributor Author

DimitriPapadopoulos commented May 1, 2025

Perhaps I shouldn't have removed this after all:

from . import diagnose

Isn't numpy.f2py.diagnose part of the public API?

Not that anyone is necessarily using it, but isn't it part of the API? Perhaps deprecate it first?

@charris
Copy link
Member

charris commented May 1, 2025

Isn't numpy.f2py.diagnose part of the public API?

Yes, and tested for that. The proper procedure to remove the whole file would be to deprecate first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.