To be clear, the blacklisting was not, in theory, over "political leanings": it was for belonging to an organization that explicitly advocated the violent overthrow of the U.S. government. There were a lot of issues with the McCarthy era, but this detail is important and generally glossed over.