Skip to content

BUG: f2py character array variables now broken #6308

Closed

Description

@2sn

in current devel version when a character variable is defined using the asterisk form

character*8  name

and I then use

common name(12)

I get an error message from f2py like

analyzevars: character array "character*8 name(12)" is considered as "character name(12,8)"; "intent(c)" is forced.

if the first definition is changed to

character(8)

then the error goes away.

The old behaviour that is consistent with FORTRAN should be restored.
Any suggestion on bug fix?

Activity

  1. 2sn commented on Sep 12, 2015

    @2sn
    ContributorAuthor

    In [1]: np.version
    Out[1]: '1.11.0.dev0+3397fce'

  2. added a commit that references this issue on Jul 2, 2021
  3. self-assigned this
    on Jul 3, 2021
  4. added a commit that references this issue on Apr 4, 2022
  5. added a commit that references this issue on Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions