> All she had to do was turn around and ask the guys to stop making sex jokes.
But I think one of the important points here is that women should not NEED to turn around and ask the guys to stop making sex jokes. The need to ask (or resign oneself to putting up with the hostile environment) is itself a burden. Would it be acceptable to make "dumb nigger" jokes as long as anytime an African American asks you to stop you stop making the jokes while they're in the room?
I am not arguing that they WERE making sex jokes, or that it rose to the level of a firing offense, just that "she could have asked us to stop" is not a good argument. In fact, they WERE asked to stop (or rather, not to start), by the organizers of PyCon before the conference ever started. That is exactly what PyCon's non-harassment policy is about.