People are turned away. Anyone saying that "code is the only thing that matters" is completely wrong. If that were the case, why do we have conferences? Why do we have communities?
I don't go to conferences. I don't know of any "communities". I contribute code, and rarely has any code been turned away. No-one has ever asked me any personal questions like gender, age or ethnicity. People don't know, and yet they accept my code.
Same with a couple of apps I maintain - I don't give a flying fuck whether you are a 60 year old hairy dyke or a 13 year old boy from Minnesota, and I have no interest in finding out. It's irrelevant. If the code passes sanity checks and improves something, and you accept the license, in it goes. Whether you have a dick or not doesn't matter, as long as you're not being one. I probably won't know unless you go out of your way to tell me, and if you do, you've just wasted some of my time.