Skip to content

Infinite loop on unclosed parenthesis #1917

@andersk

Description

@andersk

If I run isort (5.10.1 or main at c6a4196) on this invalid file with an unclosed parenthesis, it goes into a 100% CPU infinite loop:

from os import (

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions