In South Africa, legislation would restrict press