Skip to content

Singletons configurable allow multiple instances #867

Open
@Carreau

Description

See ipython/ipython#14006

Basically if you create a singleton via its constructor it does not check for other instances.

This is problematic as Applications are SingletonConfigurable and can have subapps, so inherently traitlets is unsound. The order in which you create those will change the result of Application.instance() I believe.

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