"Discussions about race/gender" is also political discussion, it's very strange that the author doesn't understand this unless he has some implicit intentions here and separates these topics on purpose.
A good example of the Hacker News reaction to gender topics (and no relation to partisan politics whatsoever) is what happened when a YC engineer launched a online community for women: https://news.ycombinator.com/item?id=16159808
Political discussion should be understood to mean discussion about the activities and policies of governments. Discussions about race/gender are far more often about tech companies internal policies, and thus a separate (but related) category.