Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BUG: Fix matching endifs with comments | Rohit Goswami | 2023-05-12 | 1 | -3/+3 |
| | | | | Harmonizes patterns a bit as well | ||||
* | Merge branch 'main' into f2pyFuncFix_23598 | Sebastian Berg | 2023-04-26 | 1 | -17/+23 |
|\ | |||||
| * | Merge pull request #23470 from bobeldering/f2py-f77-array-parsing-fix | Charles Harris | 2023-04-21 | 1 | -17/+23 |
| |\ | | | | | | | BUG: Fix bug in parsing F77 style string arrays. | ||||
| | * | BUG: Fix bug in parsing F77 style string arrays. | Bob Eldering | 2023-03-27 | 1 | -17/+23 |
| | | | | | | | | | | | | | | | | | | | | | Example problematic variable: CHARACTER WORDARR(3)*8 This would be wrapped by an array with shape (3, 8) and dtype |S1, instead of the desired shape (3,) and dtype |S8. See #23356. | ||||
* | | | MAINT: Fix tests for f2py inferred return types | Rohit Goswami | 2023-04-16 | 1 | -2/+5 |
| | | | |||||
* | | | BUG: Fix return types for functions in f2py | Rohit Goswami | 2023-04-16 | 1 | -0/+2 |
|/ / | |||||
* | | BUG: include macOS arm64 `machine()` value in `_selected_real_kind_func` | Derek Homeier | 2023-04-15 | 1 | -4/+4 |
| | | |||||
* | | MAINT: add arm64 to f2py's selected_real_kind | Andrew Nelson | 2023-04-09 | 1 | -1/+1 |
| | | |||||
* | | make regex still match cases where OG fix failed | molsonkiko | 2023-03-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | My first replacement regex would have failed to match cases like '@)@bind foo bar baz@(@@)@' which should apparently be matched. Added a test to make sure the regex does this. | ||||
* | | initial fix for nameargspattern regex | molsonkiko | 2023-03-26 | 1 | -1/+1 |
|/ | |||||
* | MAINT: `f2py` cleanup (#22885) | Rohit Goswami | 2023-01-16 | 1 | -19/+15 |
| | | | | | | | Updates the free format handling of .f90 and other common extensions (through a minor re-write). Also removes an unused function. This disallows previously allowed (but highly unlikely to be present) code-paths, namely having fixed form F77 code in a fortran 90 file (with .f90). Co-authored-by: Sebastian Berg <sebastianb@nvidia.com> | ||||
* | BUG: Use whole file for encoding checks with `charset_normalizer` [f2py] ↵ | Rohit Goswami | 2022-12-25 | 1 | -21/+26 |
| | | | | | | | | | | | | | | | | | | | | | (#22872) * BUG: Use whole file for encoding checks [f2py] * DOC: Add a code comment Co-authored-by: melissawm <melissawm@gmail.com> * TST: Add a conditional unicode f2py test * MAINT: Add chardet as a test requirement * ENH: Cleanup and switch f2py to charset_normalizer * MAINT: Remove chardet for charset_normalizer * TST: Simplify UTF-8 encoding [f2py] Co-authored-by: melissawm <melissawm@gmail.com> | ||||
* | BUG: Fix KeyError in crackfortran operator support | Rohit Goswami | 2022-06-30 | 1 | -1/+1 |
| | |||||
* | Merge pull request #19388 from pearu/enh-f2py-character-support | Melissa Weber Mendonça | 2022-06-06 | 1 | -33/+210 |
|\ | | | | | Co-authored-by: Rohit Goswami <rog32@hi.is> | ||||
| * | ENH: Support character string arrays | Pearu Peterson | 2022-06-05 | 1 | -33/+210 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | ENH: complete the 'vars' list of a module | Damien Caliste | 2022-06-05 | 1 | -2/+2 |
|/ | | | | | | Add to the 'vars' list of a module missing subroutines or functions listed in the 'body' that have not been explicitely declared 'public' or 'private'. | ||||
* | MAINT: Hoist f2py condition outside try-except | Rohit Goswami | 2022-04-30 | 1 | -8/+9 |
| | | | | | Co-authored-by: Pearu Peterson <pearu.peterson@gmail.com> Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com> | ||||
* | MAINT: handle precision in selected_real_kind | Rohit Goswami | 2022-04-29 | 1 | -2/+6 |
| | |||||
* | MAINT: Reduce f2py verbiage for valid parameters | Rohit Goswami | 2022-04-28 | 1 | -1/+3 |
| | |||||
* | BUG,ENH: Fix negative bounds for F2PY (#21256) | Rohit Goswami | 2022-03-31 | 1 | -2/+9 |
| | | | Co-authored-by: Pearu Peterson <pearu.peterson@gmail.com> | ||||
* | Merge pull request #15844 from dcaliste/type | Melissa Weber Mendonça | 2022-01-17 | 1 | -1/+21 |
|\ | |||||
| * | ENH: add inline definition of access rights for Fortran types | Damien Caliste | 2022-01-04 | 1 | -1/+21 |
| | | | | | | | | | | | | Allow to parse type definition with inline acess specifier, like: type, public :: foo end type foo | ||||
* | | MAINT, DOC: fix new typos detected by codespell | Dimitri Papadopoulos | 2022-01-12 | 1 | -1/+1 |
| | | |||||
* | | ENH: add support for operator() in crackfortran. | Damien Caliste | 2022-01-04 | 1 | -4/+26 |
|/ | | | | | | | | | | | | | | Some interface name may contains parenthesis when used with operator, like: interface operator(==) module procedure my_type_equals end interface operator(==) Make the end part properly detected, and store also the operator ('==' in that case) in the name. Also implement support to list the implemented by in any interface declaration. | ||||
* | BUG: Fix array dimensions solver for multidimensional arguments in f2py (#20721) | Pearu Peterson | 2022-01-04 | 1 | -1/+4 |
| | | | * BUG: Fix array dimensions solver for multidimensional arguments in f2py. See #20709 | ||||
* | MAINT: Fix newlines in diagnostics output of numpy.f2py. | Christoph Buchner | 2021-11-14 | 1 | -6/+6 |
| | | | | | | Linebreaks were not consistently added to errmess/outmess arguments, which led to very long lines and wrong concatenation with compiler messages in f2py console output. | ||||
* | BUG: avoid infinite recurrence on dependencies in crackfortran | Damien Caliste | 2021-10-01 | 1 | -1/+3 |
| | |||||
* | DOC: Fix typos in the random and f2py documentation. (#20004) | MalikIdreesHasanKhan | 2021-10-01 | 1 | -1/+1 |
| | | | * Fix typos | ||||
* | Merge pull request #19805 from pearu/gh-8062-dimdecs | Charles Harris | 2021-09-26 | 1 | -267/+129 |
|\ | | | | | ENH: Symbolic solver for dimension specifications. | ||||
| * | Fix a bug in dependencies. Implement support for relational operations. | Pearu Peterson | 2021-09-03 | 1 | -5/+2 |
| | | |||||
| * | Add ternary, ref, and deref expressions support. | Pearu Peterson | 2021-09-03 | 1 | -2/+2 |
| | | |||||
| * | Fix bugs and warnings from LGTM report | Pearu Peterson | 2021-09-01 | 1 | -7/+2 |
| | | |||||
| * | Add new module numpy.f2py.symbolic | Pearu Peterson | 2021-09-01 | 1 | -4/+4 |
| | | |||||
| * | Fix lint | Pearu Peterson | 2021-09-01 | 1 | -4/+5 |
| | | |||||
| * | ENH: [f2py] Symbolic solver for dimension specifications. | Pearu Peterson | 2021-09-01 | 1 | -261/+130 |
| | | |||||
* | | MAINT: Fix LGTM.com warning | Dimitri Papadopoulos | 2021-09-24 | 1 | -2/+0 |
| | | | | | | | | | | Variable defined multiple times This assignment to 'isrec' is unnecessary as it is redefined here before this value is used. | ||||
* | | MAINT,DOC: f2py cleanup | Rohit Goswami | 2021-09-20 | 1 | -2/+2 |
| | | |||||
* | | MAINT: revise OSError aliases (IOError, EnvironmentError) | Mike Taves | 2021-09-02 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #19102 from default-303/LGTM_unused_variables | Matti Picus | 2021-07-09 | 1 | -5/+3 |
|\ | | | | | MAINT: Removed suitable unused variables shown in LGTM | ||||
| * | MAINT: added space for readability in strings and basic refactoring | default-303 | 2021-06-11 | 1 | -2/+2 |
| | | |||||
| * | MAINT: fixed indentation in crackfortran.py and removed unused variables in ↵ | default-303 | 2021-06-11 | 1 | -1/+1 |
| | | | | | | | | system_info.py | ||||
| * | MAINT: Addressed Azure lint check 'Line too long error' on line 2554, added ↵ | default-303 | 2021-05-26 | 1 | -1/+2 |
| | | | | | | | | in previous commit | ||||
| * | MAINT: Removed unused variables and handled unfinished implementation in ↵ | default-303 | 2021-05-26 | 1 | -5/+2 |
| | | | | | | | | crackfortran.py after review | ||||
| * | MAINT: Restored crackfortran.py after review for unused variables listed in LGTM | default-303 | 2021-05-26 | 1 | -1/+4 |
| | | |||||
| * | MAINT: Removed suitable unused variables shown in LGTM | default-303 | 2021-05-26 | 1 | -4/+1 |
| | | |||||
* | | BUG: f2py markinnerspace for multiple quotations (#19419) | Matti Picus | 2021-07-08 | 1 | -18/+31 |
|/ | | | | | | | | | | | | | | | | | | | | | | | 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: removed unused imports listed in LGTM | default-303 | 2021-05-24 | 1 | -1/+0 |
| | |||||
* | TST: Tests for parsing Fortran abstract interface and a working example. | Pearu Peterson | 2021-03-31 | 1 | -2/+4 |
| | |||||
* | ENH: Support parsing Fortran abstract interface blocks. | Pearu Peterson | 2021-03-31 | 1 | -7/+10 |
| | |||||
* | Merge pull request #18415 from pearu/gh-2763 | Matti Picus | 2021-02-15 | 1 | -2/+1 |
|\ | | | | | MAINT: Update END statements parsing for recent Fortran standards. |