8000 BUG: Disallow shadowed modulenames by charris · Pull Request #25205 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: Disallow shadowed modulenames #25205

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 11 commits into from
Nov 20, 2023
Prev Previous commit
Next Next commit
MAINT: Fix sneaky typo [f2py]
  • Loading branch information
HaoZeke authored and charris committed Nov 20, 2023
commit 2b9fb88f1ee2d53597303898089f23e994c3ef7b
2 changes: 2 additions & 0 deletions numpy/f2py/f2py2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,8 @@ def run_compile():
# Collect dependency flags, preprocess sys.argv
argy = preparse_sysargv()
modulename = argy["modulename"]
if modulename is None:
modulename = 'untitled'
dependencies = argy["dependencies"]
backend_key = argy["backend"]
build_backend = f2py_build_generator(backend_key)
Expand Down
0