Singletons configurable allow multiple instances
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 653
- Forks
- 217
- Ø Merge
- 2 T. 21 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
See https://github.com/ipython/ipython/issues/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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.