Using Malloc For Structure In Python Class