The main reason of some entity's existence doesn't prevent it from having an additional views, that can even shape the way they execute their primary goal
> The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers.
By prohibiting African Python programmers from taking part because of their political views, how does that promote "diverse and international communities"?
Nobody is prohibited from attending based on their political views. It’s only a question of whether those views cause someone to negatively impact other attendees that they have a problem. You can be completely anti-LGBT as long as you’re mature enough to only talk about Python at a Python conference.
It does have to do with people being free and safe to attend, however. If you see freedom as additive, that’s consistent: the PSF doesn’t want to be associated with conferences which are risky for some people to attend. That doesn’t mean that a different conference can’t be organized, only that they are uncomfortable supporting less free places. I’m fine with that as long as it applies to U.S. states which fail the same concerns.
I thought the reason PSF exists is to promote Python, not to have political views.