Memory Allocation In Python