8000 BUG: Handle .pyf.src and fix SciPy [urgent] by HaoZeke · Pull Request #25287 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: Handle .pyf.src and fix SciPy [urgent] #25287

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 8 commits into from
Dec 1, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
BUG: Don't autogenerate untitled modules [f2py]
  • Loading branch information
HaoZeke committed Dec 1, 2023
commit 7e7e457c429fbb80f0b430d3510906d8b24fca05
3 changes: 1 addition & 2 deletions numpy/f2py/f2py2e.py
8000
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ def run_main(comline_list):
pyf_files, _ = filter_files("", "[.]pyf([.]src|)", comline_list)
# Checks that no existing modulename is defined in a pyf file
# TODO: Remove all this when scaninputline is replaced
modname = "untitled" # Default
if args.module_name:
if "-h" in comline_list:
modname = (
Expand All @@ -465,7 +464,7 @@ def run_main(comline_list):
modname = validate_modulename(
pyf_files, args.module_name
) # Validate modname when -h is not present
comline_list += ['-m', modname] # needed for the rest of scaninputline
comline_list += ['-m', modname] # needed for the rest of scaninputline
# gh-22819 -- end
files, options = scaninputline(comline_list)
auxfuncs.options = options
Expand Down
0