Python Access Call Stack Simulation