Python and the Diamond Problem