If you said that, if you took that position, I would strongly recommend that you do what you can to ignore those kinds of feelings.
It's my belief that women have a natural place in science and technology, but caring too much about social trivia and language (as with the recent PyCon episode) represents a pointless diversion that can only hold women back.
Would you want to be treated by a doctor who fainted at the sight of blood? I think you would prefer one who didn't care about that, who looked beyond it to something more important like a diagnosis and a cure. By the same token, people in science and technology need to be able to look beyond the petty annoyances and focus their attention on more important things.
Wouldn't it be ironic and deplorable if history recorded that an entire generation of highly skilled women didn't enter the ranks of modern science and technology because they sometimes overheard ambiguous remarks about "dongles", "forking" and "sausages"?
To say this in the most concise way, what price sanctimony?
If you are both a woman and crass, and the person persists in annoying you, maybe try telling menstruation-themed jokes or anecdotes. But, if you are both a woman and crass, chances are you don't need me to tell you how to rid yourself of unwanted company.
The type of bigotry you just exhibited is way, way down the list of priorities. But most of the higher priorities are complicated and nuanced[0][1], but the thing you said is just straight-up wrong.
[0] E.g. affirmative action is complicated and nuanced.
[1] E.g. assuming a randomly-selected conventional-looking women at a tech convention is not a developer is... totally horrible, but also rational, given the distribution.
But don't let me deny you your savory helping of sanctimony there.
And actually, if counter-trolling is how you frame your comment, then I have to say, you're doing it wrong. The correct response to trolls is to silently downvote. This is called "don't feed the trolls", and it's the right strategy because genuine trolls are encouraged by counter-trolling, and this would result in more noise and less signal. Alternately you can try to say something that will be useful to other people, while still downvoting and ignoring the troll.
Then what is it you've been up to here while responding to me?
Your troll strategy is tiring lectures, while I opt for a slightly more economical approach. Potato, potato.