South Africa's political and economic turmoil has defied a string of crises.