Skip to content

BUG: f2py character array variables now broken #6308

@2sn

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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions