https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tools/decorators.py#L103 ``` try: _cache[name] = _cachedval except KeyError: setattr(_cache, name, _cachedval) ``` What's the scenario in which a KeyError is raised here?
Activity
jbrockmendel commentedon Nov 7, 2017
https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tools/decorators.py#L127
josef-pkt commentedon Nov 7, 2017
I'm not sure. I never reviewed that code in all details, just that it works as advertised.
MAINT: remove unhittable KeyError, closes statsmodels#4110
MAINT: remove unhittable KeyError, closes statsmodels#4110
MAINT: remove unhittable KeyError, closes statsmodels#4110
MAINT: remove unhittable KeyError, closes statsmodels#4110