summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_character.py
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Fix bug in parsing F77 style string arrays.Bob Eldering2023-03-271-10/+12
| | | | | | | 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.
* BUG: fix for f2py string scalars (#23194)Alexander Heger2023-02-111-0/+20
| | | | | | | | | | | | | | in previous version, any string scalar was converted to a string array of dimension len, i.e., a definition character(len=N) :: X effectively became character(len=NNN), dimension(NNN) :: X from the point of few of the numpy (python) interface: X.shape == (NNN,) X.dtype == '|SNNN' Closes gh-23192
* TST: Comment out spurious print in f2py testSebastian Berg2023-02-091-3/+4
| | | | Matti was wondering where it came from, so lets comment it out.
* ENH: Support character string arraysPearu Peterson2022-06-051-0/+570
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.