Skip to content

Allow assignment to globals in other modules #23295

@cstjean

Description

@cstjean

Currently, SomeModule.variable = 5 yields cannot assign variables in other modules. I get that globals aren't recommended in general, but they are occasionally convenient for specifying things like verbosity level, or the color of the output. Could we allow them, when qualified with the module? The alternatives (Ref/accessors) are a bit verbose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions