Closed i-like-robots closed 10 years ago
Are there any plans to support this in the nearest future?
I'm still unsure about it because it's so simple to do anyway:
var original = myModule.__get__("varName");
myModule.__set__("varName", doTheThings);
...
myModule.__set__("varName", original);
By maybe because it is slightly more convenient. Of course I'm open to contributions!
Values modified by
__set__
should also be easily restored to their initial value.