Mercurial > libervia-backend
view .hgignore @ 2890:c652d079a9a1
core (memory/persistent): added clear method + initialise with a dict:
A "clear" method has been added to delete all data for a specific namespace (and profile).
Internal cache (self._cache) is not initialised with an empty dict instead of None to allow using methods like __setitem__ or clear without having to do a potentially expansive `load()` before. The only counterpart is that we won't have an exception anymore if developer forget to load() data before using them, which can make debugging a bit more difficult.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 07 Apr 2019 18:44:57 +0200 |
parents | f2cb99b196b1 |
children | 9f599ccbea4e |
line wrap: on
line source
syntax: glob *.pyc *.pyv *.swp *.swo tags twistd.log twistd.pid bridge_constructor/generated _trial_temp/ sat.egg-info *.un~ dist MANIFEST build ctags_links/ Session.vim