Conferences are generally laid back environments. Of course sexist exclusionary shit that assumes conference goers are male is wrong, but making a totally non-sexist joke to your mate in a talk? Fuck that shit.
Conferences are generally professional environments, which means that some degree of strictures on behaviour is normal. Conferences that are trying to be welcoming to groups that historically have found them unwelcoming try to limit the things that make them unwelcoming. Things like 'Dongle jokes' have been identified as one of those things. The Pythonic way is 'explicit over implicit'. So, Pycon's code of conduct. Can you understand this?