AppConfig so that every construction returns the same instance by overriding __new__ to cache the first instance on the class. AppConfig() is AppConfig() must be True. Mention in discussion why module-level instances are usually the more Pythonic singleton.AppConfig() is AppConfig()
True
__new__ returned the cached object the second time.
cls._instance = super().__new__(cls) on first call.
Return the cached one afterwards.