Simple stacking for Python.