A curious bit of code...

Marko Rauhamaa marko at pacujo.net
Thu Feb 13 14:56:02 EST 2014


Peter Otten <__peter__ at 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



More information about the Python-list mailing list