interactivepython: checkpoint memory