8000 DOC: Corrected allowed keywords in add_(installed_)library by oleksandr-pavlyk · Pull Request #7979 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: Corrected allowed keywords in add_(installed_)library #7979

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
Aug 26, 2016

Conversation

oleksandr-pavlyk
Copy link
Contributor

Docstring listed extra_f77_compiler_args and extra_f90_compiler_args
as allowed keywords of add_library and add_installed_library of numpy.disutils,
but per command/build_clib.py, lines 193-194
the recognized keywords are in fact extra_f77_compile_args and
extra_f90_compile_args.

The keyword extra_compiler_args, although non-confirmant both for
Fortran keywords and to the keywords of add_extension, is consistent
with the implementation (see line 200 of build_clib.py).

See short discussion at

https://mail.scipy.org/pipermail/numpy-discussion/2016-August/075904.html

Docstring listed extra_f77_compiler_args and extra_f90_compiler_args
as allowed keywords, but per command/build_clib.py, lines 193-194
the recognized keywords are in fact extra_f77_compile_args and
extra_f90_compile_args.

The keyword extra_compiler_args, although non-confirmant both for
fortran keywords and to the keywords of add_extension, is consistent
with the implementation (see line 200 of build_clib.py).
@charris
Copy link
Member
charris commented Aug 26, 2016

I think we should add the option for the other version too at some point, but it isn't obvious how to do that at first look. The lines that your post referenced use local variables that are set elsewhere...

@charris charris merged commit eeb4e17 into numpy:master Aug 26, 2016
@charris
Copy link
Member
charris commented Aug 26, 2016

Thanks @oleksandr-pavlyk , this should help others relying on the documentation.

@charris charris added this to the 1.11.2 release milestone Aug 26, 2016
@oleksandr-pavlyk oleksandr-pavlyk deleted the bugfix/add_library-docstring branch August 27, 2016 00:09
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
0