try: _CONNECTIONS # pylint: disable-msg=W0104 except NameError: _CONNECTIONS = weakref.WeakValueDictionary()