Skip to content

TOML stubs incomplete #6484

Closed
Closed
@mdjong1

Description

@mdjong1

We recently ran into an issue with the TOML stub related to the TomlDecodeError. Mypy threw this one at us: "TomlDecodeError" has no attribute "msg". This appears to originate from types-toml, which is maintained from https://github.com/python/typeshed/tree/master/stubs/toml. But it seems that the definition of TomlDecodeError there does not include any of the original class variables, thus generating this error.

Adding this issue for tracking, will possibly update these stubs ourselves in the near future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: incompleteAnnotations or sub-modules missing from an existing package or module

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions