summaryrefslogtreecommitdiff
path: root/numpy/f2py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | MAINT: Fix LGTM.com warningDimitri Papadopoulos2021-09-241-2/+0
| | | | | | | | | | | | | | | Variable defined multiple times This assignment to 'isrec' is unnecessary as it is redefined here before this value is used.
* | | MAINT: Fix LGTM.com warningDimitri Papadopoulos2021-09-241-23/+22
|/ / | | | | | | | | | | | | | | | | | | | | | | Constant in conditional expression or statement Testing a constant will always give the same result. This originates in 0ca82e9, back in 2005, where if scipy_distutils_version[:5]>='0.2.2': was changed into: if 1: Given how old SciPy 0.2 is, the conditional is clearly obsolete.
* | Merge pull request #19775 from HaoZeke/minor_typos_datedCharles Harris2021-09-2112-378/+23
|\ \ | | | | | | MAINT,DOC: Readability improvements and cleanup for f2py
| * | MAINT,DOC: f2py address reviewer commentsRohit Goswami2021-09-211-2/+0
| | |
| * | MAINT,DOC: f2py cleanupRohit Goswami2021-09-2012-378/+25
| | |
* | | DOC: Typos found by codespellDimitri Papadopoulos2021-09-212-3/+3
|/ /
* | MAINT,DOC: Refactor, syntax highlighting for f2pyRohit Goswami2021-09-192-4/+4
| |
* | Merge pull request #19810 from charris/update-some-includesCharles Harris2021-09-034-4/+8
|\ \ | | | | | | MAINT: Minor include rationalizations.
| * | MAIN: Minor include rationalization.Charles Harris2021-09-034-4/+8
| | | | | | | | | | | | | | | | | | | | | - Replace "Python.h" by <Python.h> - Replace "structmember.h" by <structmember.h> - Replace <npy_config> by "npy_config" - Define PY_SSIZE_T_CLEAN before all Python.h includes in .c files.
* | | MAINT: revise OSError aliases (IOError, EnvironmentError)Mike Taves2021-09-023-6/+5
| | |
* | | Merge pull request #19781 from mwtoews/foreach-itemMatti Picus2021-09-011-27/+30
|\ \ \ | |_|/ |/| | MAINT: refactor "for ... in range(len(" statements
| * | MAINT: refactor "for ... in range(len(" statementsMike Taves2021-09-011-27/+30
| |/
* | MAINT: Drop .pyi code-paths specific to Python 3.7Bas van Beek2021-08-301-2/+1
|/
* BUG: address 19575 ref leak of capi_tmp in f2py/cb_rules.pyDerek Huang2021-08-221-0/+1
|
* ENH: Add annotations for `<module>.test` objectsBas van Beek2021-07-251-0/+3
|
* Merge pull request #19102 from default-303/LGTM_unused_variablesMatti Picus2021-07-091-5/+3
|\ | | | | MAINT: Removed suitable unused variables shown in LGTM
| * MAINT: added space for readability in strings and basic refactoringdefault-3032021-06-111-2/+2
| |
| * MAINT: fixed indentation in crackfortran.py and removed unused variables in ↵default-3032021-06-111-1/+1
| | | | | | | | system_info.py
| * MAINT: Addressed Azure lint check 'Line too long error' on line 2554, added ↵default-3032021-05-261-1/+2
| | | | | | | | in previous commit
| * MAINT: Removed unused variables and handled unfinished implementation in ↵default-3032021-05-261-5/+2
| | | | | | | | crackfortran.py after review
| * MAINT: Restored crackfortran.py after review for unused variables listed in LGTMdefault-3032021-05-261-1/+4
| |
| * MAINT: Removed suitable unused variables shown in LGTMdefault-3032021-05-261-4/+1
| |
* | BUG: f2py markinnerspace for multiple quotations (#19419)Matti Picus2021-07-082-20/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Continuation of #15208 * BUG: markinnerspaces does not handle multiple quotations * TST: test for markinnerspaces in f2py.crackfortran * TST: tests for markinnerspaces with " * DOC: markinnerspaces in f2py.crackfortran * MAINT: more readable r strings in TestMarkinnerspaces * ENH: give variables names, change 'inside' to bool * :TEST, MAINT: add tests and changes from review * MAINT: lint fixes * BUG: typo Co-authored-by: bdvd <bdvd001@gmail.com>
* | MAINT: Remove `f2py_testing` from `__all__`Bas van Beek2021-06-272-5/+1
| | | | | | | | It's not a public module.
* | ENH: Add annotations for `np.f2py`Bas van Beek2021-06-271-10/+36
| |
* | ENH: add `numpy.f2py.get_include` functionRalf Gommers2021-06-192-7/+62
| | | | | | | | | | This is useful for similar reasons as `numpy.get_include`, see https://github.com/numpy/numpy/issues/14960#issuecomment-846460159
* | Fix lint - 2Pearu Peterson2021-06-151-1/+2
| |
* | Fix lintPearu Peterson2021-06-151-9/+19
| |
* | BUG: revise string_from_pyobj/try_pyarr_from_string with respect to malloc ↵Pearu Peterson2021-06-155-67/+298
| | | | | | | | and copy (the second round)
* | Revert "BUG: revise string_from_pyobj/try_pyarr_from_string with respect to ↵Ralf Gommers2021-06-135-252/+59
| | | | | | | | malloc and copy." (#19235)
* | Merge pull request #18759 from pearu/gh-18431-string_from_pyobjPearu Peterson2021-05-285-59/+252
|\ \ | |/ |/| BUG: revise string_from_pyobj/try_pyarr_from_string with respect to malloc and copy.
| * Minor fixesPearu Peterson2021-05-262-3/+3
| |
| * Update numpy/f2py/rules.pyPearu Peterson2021-05-261-1/+1
| | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * Fix lintPearu Peterson2021-05-261-1/+2
| |
| * Add internal check for array contiguity.Pearu Peterson2021-05-261-0/+1
| |
| * MAINT: apply sizeof(char)==1Pearu Peterson2021-05-263-4/+4
| |
| * Apply reviewer nitPearu Peterson2021-05-231-2/+1
| |
| * Fix lintPearu Peterson2021-05-231-1/+2
| |
| * Apply reviewers comments. Thanks to @eric-wieser!Pearu Peterson2021-05-231-31/+9
| |
| * BUG: revise string_from_pyobj/try_pyarr_from_string usages, fixes #18431.Pearu Peterson2021-05-104-51/+264
| |
* | MAINT: removed unused imports listed in LGTMdefault-3032021-05-241-1/+0
|/
* BUG FIX for MINGW : threads.h existence test requires GLIBC > 2.12Dong Keun Oh2021-05-051-1/+3
|
* TST: Skip f2py TestSharedMemory for LONGDOUBLE on macos/arm64Olivier Grisel2021-04-271-1/+5
| | | | LONGDOUBLE is an alias for DOUBLE on this platform.
* ENH: Add improved placeholder annotations for `np.f2py`Bas van Beek2021-04-231-3/+14
|
* STY: Indentation fixes.Charles Harris2021-03-311-7/+7
|
* TST: Tests for parsing Fortran abstract interface and a working example.Pearu Peterson2021-03-313-3/+72
|
* ENH: Support parsing Fortran abstract interface blocks.Pearu Peterson2021-03-313-9/+12
|
* MAINT: use super() as described by PEP 3135Mike Taves2021-03-191-1/+1
|
* Merge pull request #18436 from seberg/refcount-leak-f2pyMatti Picus2021-02-171-0/+1
|\ | | | | BUG: Fix refcount leak in f2py `complex_double_from_pyobj`
| * BUG: Fix refcount leak in f2py `complex_double_from_pyobj`Sebastian Berg2021-02-171-0/+1
| |