Skip to content

KeyError? #4110

Closed
Closed

Description

@jbrockmendel

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

  1. josef-pkt commented on Nov 7, 2017

    @josef-pkt
    Member

    I'm not sure. I never reviewed that code in all details, just that it works as advertised.

  2. added 4 commits that reference this issue on May 14, 2019
    1ae0c08
    d4b70c6
    0fab82e
    696a9e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions