Google Regionator

I was speculating wildly the other night that Google's regionator package has to have been written by Frank Warmerdam. The distracting capitalized method names are either a dead giveaway or a brilliant red herring. Regionator seems like a useful tool, but I'm less than excited about a couple aspects of it. There are tests -- good -- but they don't use unittest or doctest. Bad. Why invent yet another testing framework? Then there is the KML serialization:

kml = []
kml.append('<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n')
kml.append('<kml xmlns=\"\">\n')
return "".join(kml)

Yo, Google, don't be a bozo. Use ElementTree (or lxml) infosets instead of managing all those tags and angle brackets yourself. You'll be glad you did, and you'll help to set a good example for hundreds of new Python programmers.