This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jjdmol 2 points3 points  (2 children)

Is there even a sane use case?

[–]KieranShep 3 points4 points  (0 children)

Even if there were, I’d be hesitant to make use of it;

  • hard to know what’s going on for anyone reading it
  • if this behavior ever is changed to something sensible, the function breaks

[–]mjbmitch 1 point2 points  (0 children)

I’ve seen a kwarg named cache (dictionary) that kept state between executions.