Jim Davidson when on form I find hilarious, Racist ? he used to tell some dodgy jokes and have some ethnic characters in his gags but so did a lot of comedians back in the day.
What about series such as "Love thy neighbour" and Alf Garnett in "Till Death Us Do Part" you wouldn't get away with anything like that now.