Earlier quoted context omitted.
When people travel from around the country and world for conferences, the legal route is a nightmare. Moreso than normal.
Sure, but keep in mind that people paid to attend this conference, they need proper legal protection against claims. Let's say I go to a conference and someone claims that I did harass them sexually, it would be up to a few local programmers to decide what is the truth and not. That is not OK.
* You don't have a right to attend a private event. The organizers of any event - a conference, a concert, whatever - have the right to ask you to leave at any point for any reason. You are, in fact, more protected with a code of conduct in place because it articulates the process instead of leaving it up to the whims of the organizers.
* You don't have any right to due process or "legal protection"; the conference organizers aren't the police! They're not deciding what's "truth" or not; they're deciding whather to allow you to stay at an event they're responsible for.
* If you're talking about PyCon, it's hardly "a few local programmers". PyCon is a conference with a large staff, a budget of over a million dollars, and an established NPO (the PSF) behind it.
* If you can't trust the organizers of an event, then why the heck are you attending?
* People don't just randomly make up harassment. In reality, harassment is vastly underreported because of the way victims of harassment are routinely ignored, shamed, and blamed.
* Wanna know a really good way to not be accused of harassment? Don't harass anyone! If you find not being a harasser so hard, then yeah you probably shouldn't go to the event.