Hm, use "is" instead of "==" for type objects? Because it's slightly faster? Or does there exist a case such that "is" succeeds where "==" fails. I am not ready to require python 2.2 yet. /r$ -- Zolera Systems, Your Key to Online Integrity Securing Web services: XML, SOAP, Dig-sig, Encryption http://www.zolera.com