| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| | |
| | | |
MAINT: Update END statements parsing for recent Fortran standards.
|
| |/ |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
BUG: Fix f2py bugs when wrapping F90 subroutines.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
be compiled. Closes #17797.
|
| |
| |
| |
| | |
Don't split inline comments.
|
|/
|
|
|
| |
* defined(__STDC_NO_THREADS__) can be trusted only when using glibc > 2.12
* Add __GLIBC__ defined check.
|
| |
|
|
|
|
|
|
| |
* DEP: Deprecate `data_type.dtype` if attribute is not already a dtype
After the deprecation, a recursive lookup for `.dtype` will not be
possible, since `.dtype` has to be a dtype instance.
|
|
|
|
|
|
| |
* follow up to gh-18083 covering multi-line uses
of `re.compile(..` and some cases for `re.match(..`
with single (meta)character classes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* replace superfluous single-character regex character
classes with their literal string equivalents; this
avoids the overhead associated with a character class
when there's only a single character enclosed (so there's
no benefit to the class overhead)
* for more information see:
Chapter 6 of:
Friedl, Jeffrey. Mastering Regular Expressions. 3rd ed.,
O’Reilly Media, 2009.
|
|\
| |
| | |
MAINT: exprtype regex simplify
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* `determineexprtype_re_1` was modified to remove extraneous
character class markers around a single `,`
* a similar change was applied for the word metacharacter
in `determineexprtype_re_2` and `determineexprtype_re_3`
* the third character class in `determineexprtype_re_3` was
simplified to remove an escape sequence--by placing the
`-` at the start of the character class its metacharacter
status can be avoided
|
| |
| |
| |
| |
| |
| | |
* `name_match` regular expression now starts by
matching a letter only, based on reviewer
feedback
|
|/
|
|
|
|
|
|
|
|
|
| |
* remove extraneous character class markers used in
`crackline_re_1`: `\w` and `=` on their own have no
benefit to character class `[]` inclusion
* `name_match` has a character class that can be
simplified because `\w` metacharacter already
encompasses the digit metacharacter and the
underscore
|
|\
| |
| | |
MAINT: Use numpy version for f2py version.
|
| |
| |
| |
| |
| |
| | |
Because f2py is released as part of numpy, the old svn versioning
no longer makes sense and it was decided to use the numpy version
instead.
|
|\ \
| | |
| | | |
ENH: Add ``full_output`` argument to ``f2py.compile``.
|
| | |
| | |
| | |
| | | |
only print stdout if no OSError exception was raised
|
| | |
| | |
| | |
| | |
| | | |
fixes #12756 by providing a straightforward way to return the stdout/stderr
from compiling the FORTRAN module to the caller
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These are only used during testing. It's fine to load it while running the test
because actually running the test can't be done while cross compiling.
Part of changes to support #17620 to prevent importing numpy during builds to support cross-compilation
|
| | |
| | |
| | |
| | | |
See also PR gh-17687.
|
| | | |
|
|\ \ \
| | | |
| | | | |
BUG: mac dylib treated as part of extra objects by f2py
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
DOC: f2py: Add a docstring for getarrlen
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The API of this function is awful, and I still have no idea what it does.
Maybe someone reading the docstring will be able to work it out.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
TST: Make test suite work in FIPS (140-2) Mode
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Tests using MD5 algorithms fail in FIPS Mode because MD5 is not FIPS
compliant.
Replace MD5 with SHA256 to overcome that.
Signed-off-by: Nikola Forró <nforro@redhat.com>
|
|\ \ \ \ \ \
| |/ / / / /
|/| / / / /
| |/ / / / |
TST: f2py: Add a doctest for `getlincoef`
|
| |/ / / |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In fortran functions passed to f2py, calculations that occur in the
dimensions of array declarations are interpreted as floats. Valid
fortran requires integers. Problem only occurs with fortran functions
not subroutines as only for the former does f2py generate fortran
wrapper code that fails to compile.
Relevant code is in numpy.f2py.crackfortran.getlincoef(), which
calculates and returns the coefficients to getarrlen() for writing to
the fortran wrapper code.
Fixes gh-8062.
|
| | |
| | |
| | |
| | | |
This patch also cleans up `CCompilerOpt` calls in build_ext and build_clib.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Fixes gh-15325
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Replace npy_3kcompat macro PyInt_AsLong by appropriate definition
- Replace npy_3kcompat macro PyInt_AS_LONG by appropriate definition.
- Reformat code for readability.
The code in extensively reformated in this PR which may hide the most
important parts of the diff, but I needed to do it to make the code
readable.
|