Peter Otten <__pete...@web.de>: > Personally, I'm willing to spend the few extra milliseconds and use > the foolproof third.
Speaking of foolproof, what is this "key?" Is it an XML start tag, maybe? Then, how does your test fare with, say, <start comparison="> "> which is equivalent to <start comparison=">"> Marko -- https://mail.python.org/mailman/listinfo/python-list