You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch is a proof-of-concept for marking state
changes in mutable objects. It is meant as a simpler,
faster alternative to a full built-in observer pattern.
Here's the whole protocol:
Mutable objects choosing to implement the protocol
provide a writable attribute, cachevalid, which is
initialized to zero. Upon any update to the object,
the attribute is reset to zero. Callers who set the
attribute to one can later check to see if an update
has occurred (as indicated by a zero).
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: