Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ENH: Generate wrappers for scalars with value | Rohit Goswami | 2022-06-21 | 1 | -2/+2 |
| | |||||
* | BUG: Generate C typedefs for f2cmap types | Rohit Goswami | 2022-06-10 | 1 | -0/+3 |
| | |||||
* | ENH: Support character string arrays | Pearu Peterson | 2022-06-05 | 1 | -61/+122 |
| | | | | | | | | | | | | | | | | TST: added test for issue #18684 ENH: f2py opens files with correct encoding, fixes #635 TST: added test for issue #6308 TST: added test for issue #4519 TST: added test for issue #3425 ENH: Implement user-defined hooks support for post-processing f2py data structure. Implement character BC hook. ENH: Add support for detecting utf-16 and utf-32 encodings. | ||||
* | Merge pull request #21187 from HaoZeke/f2pyDeterminism | Rohit Goswami | 2022-04-29 | 1 | -0/+17 |
|\ | | | | | ENH: F2PY build output determinism | ||||
| * | ENH: Do not generate F90 wrappers for F77 inputs | Rohit Goswami | 2022-03-21 | 1 | -0/+17 |
| | | |||||
* | | TST: Initialize f2py2e tests of the F2PY CLI (#20668) | Rohit Goswami | 2022-04-01 | 1 | -3/+3 |
| | | | | | | | | | | Increases F2PY coverage by around 15 percent. For the CLI itself it covers the major features (around 70 percent), with the exception of mostly numpy.distutils stuff. More importantly, sets the groundwork for #20056, in that passing the same testsuite should indicate feature parity. | ||||
* | | MAINT: Use npy_os in f2py | Rohit Goswami | 2022-03-06 | 1 | -0/+1 |
| | | |||||
* | | MAINT: Restructure includes slightly | Rohit Goswami | 2022-03-06 | 1 | -0/+3 |
|/ | |||||
* | MAINT: Fix LGTM.com warning: Implicit string concatenation in a list | Dimitri Papadopoulos | 2021-10-06 | 1 | -1/+1 |
| | | | | Implicit string concatenation. Maybe missing a comma? | ||||
* | Merge pull request #19997 from HaoZeke/f2py_tabs | Charles Harris | 2021-10-04 | 1 | -252/+252 |
|\ | | | | | STY: Harmonize rules with cb_rules for f2py | ||||
| * | MAINT: Reviewer comments | Rohit Goswami | 2021-09-30 | 1 | -1/+1 |
| | | | | | | | | Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> | ||||
| * | STY: Kill all \t with fire in f2py | Rohit Goswami | 2021-09-29 | 1 | -253/+253 |
| | | |||||
| * | STY: Harmonize rules with cb_rules for f2py | Rohit Goswami | 2021-09-29 | 1 | -253/+253 |
| | | |||||
* | | MAINT: Reduce DepreciationWarnings, use more data API types for f2py (#19978) | Rohit Goswami | 2021-09-29 | 1 | -0/+4 |
|/ | | | | | | | * MAINT: More data type API for f2py * MAINT: Less DeprecationWarnings for f2py * MAINT: Fix casts for complex arrays in f2py | ||||
* | Fix lint - 2 | Pearu Peterson | 2021-06-15 | 1 | -1/+2 |
| | |||||
* | Fix lint | Pearu Peterson | 2021-06-15 | 1 | -9/+19 |
| | |||||
* | BUG: revise string_from_pyobj/try_pyarr_from_string with respect to malloc ↵ | Pearu Peterson | 2021-06-15 | 1 | -9/+20 |
| | | | | and copy (the second round) | ||||
* | Revert "BUG: revise string_from_pyobj/try_pyarr_from_string with respect to ↵ | Ralf Gommers | 2021-06-13 | 1 | -4/+2 |
| | | | | malloc and copy." (#19235) | ||||
* | Update numpy/f2py/rules.py | Pearu Peterson | 2021-05-26 | 1 | -1/+1 |
| | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
* | Fix lint | Pearu Peterson | 2021-05-26 | 1 | -1/+2 |
| | |||||
* | MAINT: apply sizeof(char)==1 | Pearu Peterson | 2021-05-26 | 1 | -1/+1 |
| | |||||
* | BUG: revise string_from_pyobj/try_pyarr_from_string usages, fixes #18431. | Pearu Peterson | 2021-05-10 | 1 | -1/+2 |
| | |||||
* | ENH: Support parsing Fortran abstract interface blocks. | Pearu Peterson | 2021-03-31 | 1 | -1/+1 |
| | |||||
* | [MAINT] Fix regression in using --capi-api flag and callbacks | Pearu Peterson | 2021-02-07 | 1 | -1/+1 |
| | |||||
* | Apply reviewer comments. | Pearu Peterson | 2021-01-19 | 1 | -4/+2 |
| | |||||
* | Add test for gh17797. | Pearu Peterson | 2021-01-18 | 1 | -3/+10 |
| | |||||
* | BUG: subroutines using assumed shape arrays must be treated as F90 codes. ↵ | Pearu Peterson | 2021-01-18 | 1 | -2/+6 |
| | | | | Don't split inline comments. | ||||
* | MAINT: Use numpy version for f2py version. | Charles Harris | 2020-08-22 | 1 | -9/+6 |
| | | | | | | 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. | ||||
* | MAINT: Remove uses of PyString_FromString. | Charles Harris | 2020-08-19 | 1 | -1/+1 |
| | | | | | | | | We no longer need to use the compatibility function after dropping support for Python 2.7. In some cases unicode was the correct string type rather than the bytes of the compatibility version and bugs in the array `__complex__` and array `__array_interface__` methods have been fixed by changing that. | ||||
* | add __f2py_numpy_version__ attribute | Sturla Molden | 2020-06-17 | 1 | -0/+6 |
| | |||||
* | BUG: numpy/f2py: put callback globals to thread-local storage | Pauli Virtanen | 2020-06-07 | 1 | -26/+19 |
| | |||||
* | STY: f2py/rules: replace \t with whitespace for readability | Pauli Virtanen | 2020-06-07 | 1 | -37/+37 |
| | |||||
* | MNT: support python 3.10 | Thomas A Caswell | 2020-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | | In https://github.com/python/cpython/pull/20290 CPython changed `Py_TYPE` from a macro to an inline function. This requires a code change to us `Py_SET_TYPE` instead when using `Py_TYPE()` as a lvalue in c code. In https://github.com/python/cpython/pull/20429 CPython changed `Py_SIZE` from a macro to an inline function. This requires a code change to us `Py_SET_SIZE` instead of using `Py_SIZE` as a lvalue in c code. | ||||
* | MAINT: remove useless `global` statements | Eric Wieser | 2020-03-18 | 1 | -1/+0 |
| | | | | | | | `global` is only needed if a variable appears on the left of an assignment. These variables do not. Most suffer from the misconception that `var[x] = y` requires `var` to be global, but it does not. | ||||
* | convert shebang from python to python3 (#15687) | Changqing Li | 2020-03-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||||
* | MAINT: Revert f2py Python 2.6 workaround (gh-15415) | Seth Troisi | 2020-01-23 | 1 | -11/+1 |
| | | | Revert ed916ff#diff-c9eccf467e5f6561061d6a5ac4730330 which was needed to workaround http://bugs.python.org/issue4720 which was fixed 12 years ago. | ||||
* | Merge pull request #15232 from sethtroisi/remove_python3_part3 | Matti Picus | 2020-01-04 | 1 | -18/+0 |
|\ | | | | | MAINT: Cleaning up PY_MAJOR_VERSION/PY_VERSION_HEX | ||||
| * | Cleaning up PY_MAJOR_VERSION/PY_VERSION_HEX | Seth Troisi | 2020-01-03 | 1 | -18/+0 |
| | | |||||
* | | Merge pull request #14376 from jdufresne/future | Sebastian Berg | 2020-01-03 | 1 | -2/+0 |
|\ \ | |/ |/| | MAINT: Remove unnecessary 'from __future__ import ...' statements | ||||
| * | MAINT: Remove unnecessary 'from __future__ import ...' statements | Jon Dufresne | 2020-01-03 | 1 | -2/+0 |
| | | | | | | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior. | ||||
* | | MAINT: Remove Python2 specific C module setup (gh-15231) | Seth Troisi | 2020-01-03 | 1 | -8/+2 |
|/ | | | | | Dropping the support for python 2, the difference in module setup do not have to be accounted for anymore. This removes the macros and ifdef's related to module setup code and python 2 support. | ||||
* | ENH: Chain exceptions when converting python objects to fortran | Eric Wieser | 2019-12-02 | 1 | -4/+8 |
| | | | | | | Note that since we now need `npy_3kcompat.h`, we can delete all duplicated lines in this file We preserve the original exception type for compatibility with old code here. | ||||
* | BUG: Further, followup f2py reference count fixes | Sebastian Berg | 2019-08-19 | 1 | -2/+7 |
| | | | | | | | | Note that the extension module dict seems to be never dereferenced (there is an additional reference to it kept around somewhere). This reference seems to part of the C python module loading (possibly intentionally), and I could not find how to remove it or where it originates from. | ||||
* | BUG: General fixes to f2py reference counts (dereferencing) | Sebastian Berg | 2019-08-19 | 1 | -8/+20 |
| | |||||
* | BUG: Fix leak in the f2py-generated module init and `PyMem_Del` usage | Sergei Lebedev | 2019-08-19 | 1 | -3/+6 |
| | | | | | | Using `PyMem_Del` is incorrect, it should be `PyObject_Del` here, while this worked most of the time, it would lead to crashes at least on python 2.5 (after the reference counts were fixed) | ||||
* | Fixed possible regressions | Bharat123rox | 2019-05-08 | 1 | -2/+2 |
| | |||||
* | Use with statement to open/close files to fix LGTM alerts | Bharat123rox | 2019-05-07 | 1 | -55/+50 |
| | |||||
* | HTTP -> HTTPS, and other linkrot fixes | Mike Toews | 2018-06-16 | 1 | -1/+1 |
| | |||||
* | MAINT: remove outdated entries in f2py | Bernhard M. Wiedemann | 2017-09-27 | 1 | -3/+0 |
| | | | | because svn is not used anymore | ||||
* | ENH: Allow to override build date | Bernhard M. Wiedemann | 2017-09-27 | 1 | -1/+2 |
| | | | | | | | | and use gmtime in order to be independent of timezone in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable. |