I don't think that politeness is inherently racist, but it has been used as a tool of racial suppression, and as a way of keeping itinerants in line
https://www.ferris.edu/HTMLS/news/jimcrow/question/2006/sept...
https://www.ferris.edu/HTMLS/news/jimcrow/question/2006/sept...