It appears that PyCon staff did handle the incident, and did so sensibly and discretely:
http://pycon.blogspot.co.uk/2013/03/pycon-response-to-inappr...
It's not clear whether that happened before or after the photo was posted.
Edit: the code of conduct also says "Public shaming can be counter-productive to building a strong community. PyCon does not condone nor participate in such actions out of respect."
She took the picture before she got the pycon people involved. You can tell because of the times on her tweets. The picture was tweeted at 10:32, and she started calling for the pycon staff at 10:34.
that doesn't really make any difference, she still took the pictures and publicly shamed them and even now after everything leaves the photo up.
Yes, these kinds of jokes are immature and this conduct was ill advised.
That said, taking ambush pictures of nonconsenting parties and very publicly shaming them shouldn't be your go-to response. I'd say that response was completely disproportionate to the initial crime.
Far better to throw an (in person) "come on guys, be professional" their way and escalate from there. If that's too confrontational for your tastes, go talk to one of the PyCon volunteers and ask them to step in. I think it's kind of ridiculous that they (PyCon staff) didn't get a chance to resolve this issue discretely and had to hear about it alongside however many thousand other people.