def state_push(self):
pass<EOL>
Save the current state onto a stack, to be restored with
state_pop.

Subclasses must implement state_push and state_pop to store
state across invocations. The behaviour should be such that
after state_pop, the state is restored to what it was at
the time when state_push was called.