adding to python stack