Support setting deletion
|Reported by:||Joost Cassee||Owned by:||Joost Cassee|
|Cc:||Ben Spaulding||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
LazySettings class supports setting and getting options, but not deleting them. Apart from the obvious symmetry, the very useful
TestSettingsManager class from this snippet (which changes settings temporarily for tests) requires it.
The attached patch adds a
__delattr__ method. Please consider applying it.