Skip to content

Weakref unsupported in AST #81

Closed
@AstraLuma

Description

@AstraLuma

graphql.language.ast makes extensive use of __slots__ but __weakref__ is given, breaking the weakref module.

The use of __slots__ without __weakref__ makes it very hard to track data about AST nodes in a non-leaky way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions