this is py3k, not 2.  damn template