Allocation working with Python 3.