Skip to content

isort 5 no longer recognises sre_parse as a stdlib module #1304

@Zac-HD

Description

@Zac-HD

For example, sort

import re
import sre_constants
import sre_parse

and sre_parse will be placed in a new section, which is a regression from isort 4.3.21, where sre_parse was correctly treated as a stdlib module.

(and thanks for shipping isort 5! The new API is great for my shed project, and as a user I also really like the profile system 😄)

Metadata

Metadata

Assignees

No one assigned

    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