Skip to content

Circular import on fparser 0.2.3 #512

@tbennun

Description

@tbennun

Importing a package with the newly-released fparser triggers an import error:

>>> from fparser.two import Fortran2008
E   ImportError: cannot import name 'Loop_Control' from partially initialized module 'fparser.two.Fortran2008' (most likely due to a circular import) (/opt/hostedtoolcache/Python/3.13.13/x64/lib/python3.13/site-packages/fparser/two/Fortran2008/__init__.py)

Metadata

Metadata

Assignees

Labels

F2008Relates to support for the Fortran 2008 standardbug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions