pando.py icon indicating copy to clipboard operation
pando.py copied to clipboard

make configuration immutable

Open chadwhitacre opened this issue 10 years ago • 3 comments

Right now configuration is half-mutable: you can change attributes on website, but if those settings affected anything in Configurable.__init__ then resetting the attribute will make the configuration inconsistent. On https://github.com/gratipay/aspen-python/issues/472 we're leaning towards making config immutable.

chadwhitacre avatar Jul 09 '15 14:07 chadwhitacre

http://pyrsistent.readthedocs.org/en/latest/ might be useful for this

pjz avatar Jul 30 '15 15:07 pjz

@Changaco Do you care about this one?

chadwhitacre avatar Jul 20 '16 22:07 chadwhitacre

It's not in my priorities, but making sure that changing the config is either impossible or straightforward is definitely something we want.

Changaco avatar Jul 20 '16 22:07 Changaco